v1

latestOpenAPI 3.1.02026-07-24223580832.9 KB
Transactions

Get a Transaction

Returns a transaction by a user-defined transaction hash.

get/{protocol}/{network}/tx/{hash}

Path parameters

protocolstring required

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

networkstring required

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

hashstring required

The transaction hash.

Response

Transaction

idstring

Unique transaction identifier.

block_idstring nullable

Block hash if mined, otherwise omitted.

dateinteger

The transaction creation unix timestamp.

status'completed' | 'failed'

Result status of the transaction.

num_eventsinteger

List of transaction events.

metaobject

Protocol specific data that doesn't fit into a standard model.

block_numberinteger nullable

Block number if mined, otherwise omitted.

confirmationsinteger

Total transaction confirmations.

assetsstring[] nullable

List of moved assets by asset path. Find all the asset paths on this page.

nonceinteger

The nonce of the transaction.

Example response

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