Since: cosmos-sdk 0.47
TxDecodeRequest is the request type for the Service.TxDecode RPC method.
tx_bytes is the raw transaction.
TxDecodeResponse is the response type for the Service.TxDecode method.
POST /cosmos/tx/v1beta1/decode HTTP/1.1 Host: kava.nownodes.io Content-Type: application/json Accept: */* Content-Length: 23 { "tx_bytes": "Ynl0ZXM=" }
A successful response.
{ "tx": { "body": { "messages": [ { "type_url": "text", "value": "Ynl0ZXM=" } ], "memo": "text", "timeout_height": "text", "extension_options": [ { "type_url": "text", "value": "Ynl0ZXM=" } ], "non_critical_extension_options": [ { "type_url": "text", "value": "Ynl0ZXM=" } ] }, "auth_info": { "signer_infos": [ { "public_key": { "type_url": "text", "value": "Ynl0ZXM=" }, "mode_info": { "single": { "mode": "SIGN_MODE_UNSPECIFIED" }, "multi": "[Circular Reference]" }, "sequence": "text" } ], "fee": { "amount": [ { "denom": "text", "amount": "text" } ], "gas_limit": "text", "payer": "text", "granter": "text" }, "tip": { "amount": [ { "denom": "text", "amount": "text" } ], "tipper": "text" } }, "signatures": [ "Ynl0ZXM=" ] } }