Messages
Each message is a JSON object. Dates are in simplified extended ISO format (ISO 8601), which is always 24 or 27 characters long (YYYY-MM-DDTHH:mm:ss.sssZ or ±YYYYYY-MM-DDTHH:mm:ss.sssZ, respectively). The timezone is always zero UTC offset, as denoted by the suffix "Z".
There are four fields common to every JSON object which are "__type"
(used to discern how the data structure should be parsed), "blockchain"
(which blockchain the transaction was executed on), "txHash"
(the transaction's hash), and "isSuccessful"
(whether the transaction succeeded or failed). JSON objects for Cosmos transactions additionally have a "memo"
field in common which is an optional note the user added while making the transaction such as ""
or "I owed you 1.5 ATOM since you paid for lunch."
.
Here are the messages that can be sent:
cosmos.authz.exec
cosmos.authz.grant
cosmos.authz.revoke
cosmos.bank.multiSend
cosmos.bank.send
cosmos.feeGrant.grantAllowance
cosmos.feeGrant.revokeAllowance
cosmos.gov.deposit
cosmos.gov.submitProposal
cosmos.gov.vote
cosmos.slashing.unjail
cosmos.staking.beginRedelegate
cosmos.staking.createValidator
cosmos.staking.delegate
cosmos.staking.editValidator
cosmos.staking.undelegate
cosmos.ibc.send
cosmos.ibc.receive
cosmos.gamm.create
cosmos.gamm.exit
cosmos.gamm.exitExactAndSwap
cosmos.gamm.exitMaxAndSwap
cosmos.gamm.join
cosmos.gamm.swapExact
cosmos.gamm.swapExactAndJoin
cosmos.gamm.swapMax
cosmos.gamm.swapMaxAndJoin
cosmos.lockup.lock
cosmos.lockup.unlock
cosmos.lockup.unlockAll
cosmos.superfluid.delegate
cosmos.superfluid.undelegate
cosmos.superfluid.lockAndDelegate
cosmos.superfluid.unlockAndUndelegate
near.staking.stake
near.staking.unstake
near.staking.unstakeAll
near.staking.withdrawAll
near.transfer.native
near.transfer.nonNative
near.social.set
near.social.set.follow
near.social.set.like
near.social.set.poke