v1

latestOpenAPI 3.1.02026-07-24223580832.9 KB
Blocks

Get a List of Transactions

Get a List of transactions, starting with the lastest one. Each call returns an array of the entire list.

get/{protocol}/{network}/txs

Path parameters

protocolstring required

Protocol handle, one of: algorand, avalanche, bitcoin, bitcoincash, dogecoin, litecoin, optimism, polkadot, stellar tezos, xrp.

networkstring required

Which network to target. Available networks can be found in the list of supported protocols or with /{protocol}.

Query parameters

block_hashstring

Filter by block hash. You can specify only one block hash at a time.

block_numberinteger

Filter by block number.

assetsstring

Comma-separated list of asset paths to filter. If the list is empty or all elements are empty, this filter has no effect. Filtering by asset is applicable only for:

  • Balances endpoints: algorand, avalanche, bitcoincash, ethereum, litecoin, optimism, polygon, polkadot, solana
  • Transactions endpoints: algorand, avalanche, ethereum

Find all the asset paths on this page.

order'desc' | 'asc'

The pagination order.

page_tokenstring

The token to retrieve more items in the next request. Use the next_page_token returned from the previous response for this parameter.

page_sizeinteger

Max number of items to return in a response. Defaults to 25 and is capped at 100.

Response

Transactions

totalinteger

The number of items in txs.

Example response

{
  "total": 1,
  "data": [
    {
      "id": "0xF00Fa860473130C1df10707223E66Cb4B839B165",
      "block_id": "0xaf2948aba2ed8cc7d5b7d4e4f4164a7c8819efc94d30aab3fce6904df68dbc07",
      "date": 1571222657,
      "block_number": 789387,
      "events": [
        {
          "type": "transfer",
          "destination": "1A1zP1eP5QGefi2DMPTfTL5SLmv7DivfNa",
          "amount": 5000000000
        }
      ],
      "assets": [
        "ethereum/native/eth"
      ]
    }
  ]
}