Decode

TxDecode decodes the transaction.

post

Since: cosmos-sdk 0.47

Body

TxDecodeRequest is the request type for the Service.TxDecode RPC method.

Since: cosmos-sdk 0.47

tx_bytesstring · byteoptional

tx_bytes is the raw transaction.

Responses
curl -L \
  --request POST \
  --url 'https://zetachain.nownodes.io/cosmos/tx/v1beta1/decode' \
  --header 'Content-Type: application/json' \
  --data '{
    "tx_bytes": "Ynl0ZXM="
  }'
{
  "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="
    ]
  }
}