Get transaction list

This API method returns a list of transactions.

API Endpoint

Mainnet

https://open-platform.nodereal.io/{apikey}/greenfieldscan-mainnet/

Testnet
https://open-platform.nodereal.io/{apikey}/greenfieldscan-testnet/

method_path:/greenfield/tx/list

method_type:GET

Request:

ParametersDescriptionsQuery TypeRequiredData Typeschema
pagepagequerytrueinteger
per_pageper_pagequerytrueinteger
max_heightmax_heightqueryfalseinteger
tx_typetx_typequeryfalsestring

Response:

ParametersData Typeschema
hashinteger
heightinteger
indexinteger
proofTxProofgithub_com_cometbft_cometbft_types
timeString
txinteger
tx_resultmodels.ResponseDeliverTx

Example:

[
  {
    "hash": [
      0
    ],
    "height": 0,
    "index": 0,
    "proof": {
      "data": [
        0
      ],
      "proof": {
        "aunts": [
          [
            0
          ]
        ],
        "index": 0,
        "leaf_hash": [
          0
        ],
        "total": 0
      },
      "root_hash": [
        0
      ]
    },
    "time": "string",
    "tx": [
      0
    ],
    "tx_result": {
      "code": 0,
      "codespace": "string",
      "data": [
        0
      ],
      "events": [
        {
          "attributes": [
            {
              "index": true,
              "key": "string",
              "value": "string"
            }
          ],
          "type": "string"
        }
      ],
      "fee": "string",
      "gas_used": 0,
      "gas_wanted": 0,
      "info": "string",
      "log": "string",
      "messages": "string",
      "module": "string",
      "type": "string"
    }
  }
]