_getTransaction

Queries validator-set at a given height.

❗️

All That Node prohibits this method for stability.

Parameters

Query

  • events: ARRAY of STRING - events is the list of transaction event type.
  • pagination.key: STRING - (base64) (optional) key is a value returned in PageResponse.next_key to begin querying the next page most efficiently. Only one of offset or key should be set.
  • pagination.offset: INTEGER - (optional) offset is a numeric offset that can be used when key is unavailable. It is less efficient than using key. Only one of offset or key should be set.
  • pagination.limit: STRING - (optional) limit is the total number of results to be returned in the result page. If left empty it will default to a value to be set by each app.
  • pagination.count_total: BOOLEAN - (optional) count_total is set to true to indicate that the result set should include a count of the total number of items available for pagination in UIs. count_total is only respected when offset is used. It is ignored when key
    is set.
  • pagination.reverse: BOOLEAN - (optional) reverse is set to true if results are to be returned in the descending order.
  • order_by: STRING - Choose the way to order. (Default value : "ORDER_BY_UNSPECIFIED")
    • "ORDER_BY_UNSPECIFIED": specifies an unknown sorting order. OrderBy defaults to ASC in this case.
    • "ORDER_BY_ASC": ORDER_BY_ASC defines ascending order
    • "ORDER_BY_DESC": ORDER_BY_DESC defines descending order
curl "https://cosmos-mainnet-archive.allthatnode.com:1317/cosmos/tx/v1beta1/txs?events={string}&pagination.offset=1&pagination.limit=5&pagination.count_total=false" \
-H 'x-allthatnode-api-key: 8U3JLUhzIDg3GShvy9hkCCSYkLGc11kj'

Returns

  • OBJECT - The simulation result.
{
  "txs": [
    {
      "body": {
        "messages": [
          {
            "type_url": "string",
            "value": "string"
          }
        ],
        "memo": "string",
        "timeout_height": "string",
        "extension_options": [
          {
            "type_url": "string",
            "value": "string"
          }
        ],
        "non_critical_extension_options": [
          {
            "type_url": "string",
            "value": "string"
          }
        ]
      },
      "auth_info": {
        "signer_infos": [
          {
            "public_key": {
              "type_url": "string",
              "value": "string"
            },
            "mode_info": {
              "single": {
                "mode": "SIGN_MODE_UNSPECIFIED"
              },
              "multi": {
                "bitarray": {
                  "extra_bits_stored": 0,
                  "elems": "string"
                },
                "mode_infos": [
                  null
                ]
              }
            },
            "sequence": "string"
          }
        ],
        "fee": {
          "amount": [
            {
              "denom": "string",
              "amount": "string"
            }
          ],
          "gas_limit": "string",
          "payer": "string",
          "granter": "string"
        }
      },
      "signatures": [
        "string"
      ]
    }
  ],
  "tx_responses": [
    {
      "height": "string",
      "txhash": "string",
      "codespace": "string",
      "code": 0,
      "data": "string",
      "raw_log": "string",
      "logs": [
        {
          "msg_index": 0,
          "log": "string",
          "events": [
            {
              "type": "string",
              "attributes": [
                {
                  "key": "string",
                  "value": "string"
                }
              ]
            }
          ]
        }
      ],
      "info": "string",
      "gas_wanted": "string",
      "gas_used": "string",
      "tx": {
        "type_url": "string",
        "value": "string"
      },
      "timestamp": "string"
    }
  ],
  "pagination": {
    "next_key": "string",
    "total": "string"
  }
}
default	
An unexpected error response

Example Value
Model
{
  "error": "string",

Try Yourself

Language
Click Try It! to start a request and see the response here!