Messages
lockup
Lock

cosmos.lockup.lock

An account locked up their tokens for a specified duration.

Schema

FieldRequiredData typeExplanationExample
__typeYesstringAlways "cosmos.lockup.lock"."cosmos.lockup.lock"
blockchainYesstringThe blockchain this transaction was executed on. This field will have one of the values in the ID column where the Ecosystem column's value is Cosmos."juno"
txHashYesstringThe transaction's hash."DBAD2F68E6CEF64B8EA29F47B2765CED53CB1552AE6422C98974C8D4DA8869F8"
isSuccessfulYesbooleanWhether the transaction succeeded or failed.true
memoYesstringA note the user added while making the transaction. Maybe be empty ("")."I owed you 1.5 ATOM since you paid for lunch."
ownerYesstringExecutor's address"bitsong1jv4r79zsfkg3m3mdafg4uxyxg4z9fn3u8kjmh2"
tokensYesarray of tokensThe tokens that were locked up.
durationInSecsYesnumberThe number of seconds the account locked up their tokens for.1209600

token

FieldRequiredData typeExplanationExample
denominationYesstring"uatom"
quantityYesstring"100"

Example

{
  "__type": "cosmos.lockup.lock",
  "blockchain": "juno",
  "txHash": "DBAD2F68E6CEF64B8EA29F47B2765CED53CB1552AE6422C98974C8D4DA8869F8",
  "isSuccessful": true,
  "memo": "",
  "owner": "bitsong1jv4r79zsfkg3m3mdafg4uxyxg4z9fn3u8kjmh2",
  "tokens": [
    {
      "denomination": "uatom",
      "quantity": "100"
    },
    {
      "denomination": "uosmo",
      "quantity": "200"
    }
  ],
  "durationInSecs": 1209600
}