Transactions
Messages
Message is a data structure that represents an action to be executed on the blockchain.
It is a part of the transaction, which is a collection of messages that are executed atomically.
This guide will show you how to create a message object for different types of actions.
VM-Agnostic Messages
VM-agnostic messages are messages that can be used across all VMs.
MsgSend()
: send coins to other address
MsgDelegate()
: delegate governance coin to validators (staking)
VM-Specific Messages
MoveVM
MsgExecute()
: execute move contract entry functions
WasmVM
MsgStoreCode()
: store wasm contract code
MsgInstantiateContract()
: instantiate wasm contract
MsgExecuteContract()
: execute wasm contract functions
EVM
MsgCreate()
: create EVM contract code
MsgCall()
: execute EVM contract functions
Was this page helpful?