Since: cosmos-sdk 0.47
TxDecodeRequest is the request type for the Service.TxDecode RPC method.
TxDecodeResponse is the response type for the Service.TxDecode method.
POST /cosmos/tx/v1beta1/decode HTTP/1.1 Host: zetachain.nownodes.io Content-Type: application/json Accept: */* Content-Length: 19 { "tx_bytes": "text" }
A successful response.
{ "tx": { "body": { "messages": [ { "type_url": "text", "value": "text" } ], "memo": "text", "timeout_height": "text", "extension_options": [ { "type_url": "text", "value": "text" } ], "non_critical_extension_options": [ { "type_url": "text", "value": "text" } ] }, "auth_info": { "signer_infos": [ { "public_key": { "type_url": "text", "value": "text" }, "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": [ "text" ] } }