GET
/
blocks
/
{hashOrNumber}
/
transactions
Get Transactions for a Block
curl --request GET \
  --url https://indexer.testnet.incentiv.net/api/blocks/{hashOrNumber}/transactions
[
  {
    "hash": "<string>",
    "blockNumber": 123,
    "timestamp": 123,
    "from": "<string>",
    "to": "<string>",
    "value": "<string>",
    "gasUsed": "<string>",
    "gasPrice": "<string>",
    "nonce": 123,
    "input": "<string>",
    "status": "<string>"
  }
]

Path Parameters

hashOrNumber
string
required

The block hash or block number to retrieve transactions for.

Response

200
application/json

List of transactions in the block.

The response is of type object[].