Messages
Messages contains all blockchain messages
For example, the following gets all /cosmos.staking.v1beta1.MsgDelegate
messages including its transaction hash and block height.
query Messages {
messages(typeUrls: ["/cosmos.staking.v1beta1.MsgDelegate"]) {
edges {
node {
typeUrl
data
blockHeight
transaction {
hash
}
}
}
}
}
Or get all cosmwasm related messages for two cosmwasm methods:
query Message {
messages(
typeUrls: ["/cosmwasm.wasm.v1.MsgExecuteContract"]
cosmwasmMethods: ["swap_nfts_for_tokens", "approve_all"]
) {
edges {
node {
typeUrl
data
blockHeight
}
}
}
}