v1

latestOpenAPI 3.1.02026-07-24223580832.9 KB
Transactions

Get a List of Transactions for a Given Address

Returns the transactions that an address was involved with, from newest to oldest.

get/{protocol}/{network}/account/{address}/txs

Path parameters

protocolstring required

The protocol handle, one of: algorand, avalanche, bitcoin, bitcoincash, dogecoin, ethereum, litecoin, optimism, polkadot, polygon, solana, tezos, stellar, xrp.

networkstring required

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

addressstring required

The account address of the protocol.

Query parameters

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.

frominteger

Unix Timestamp from where to start. The date range is exclusive (results include transactions starting 1 second after this timestamp).

tointeger

Unix Timestamp from where to end. The date range is exclusive (results include transactions up to 1 second before this timestamp).

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"
      ]
    }
  ]
}