Since: cosmos-sdk 0.47
/cosmos/tx/v1beta1/decode
tx_bytes is the raw transaction.
curl -L \
--request POST \
--url 'https://zetachain.nownodes.io/cosmos/tx/v1beta1/decode' \
--header 'Content-Type: application/json'
{
"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"
]
}
}
A successful response.