Transaction Details API

Learn more about a specific transaction on any chain

The transaction detail API is one such End Point which gives as much details possible for a specific transaction on a specific given chain.

All we need is the transaction hash and the entire history of the transaction is presented to anyone looking for all minor details pertaining to the particular transaction

Get Transaction Details API

GET https://stg-api.unmarshal.io/v1/{chain}/transactions/{txId}

Sample API below : https://stg-api.unmarshal.io/v1/ethereum/transactions/ 0xddce618f5f00a5b0c857b5395ab5094cf097cf4be297f7be1705b56f60d50d58?auth_key=VGVtcEtleQ%3D%3D

Path Parameters

NameTypeDescription

chain

string

The Chain on which the transaction has occurred. Users have an option to search on ethereum / bsc /matic / heco / algorand / polkadot / stafi / edgeware / solana

txID

string

The transaction Hash for which the details are requested.

Query Parameters

NameTypeDescription

auth_key

string

Test key : VGVtcEtleQ==

{
  "id": "0xddce618f5f00a5b0c857b5395ab5094cf097cf4be297f7be1705b56f60d50d58",
  "from": "0x986a2fCa9eDa0e06fBf7839B89BfC006eE2a23Dd",
  "to": "0xdAC17F958D2ee523a2206206994597C13D831ec7",
  "fee": "629387850000000",
  "date": 1626025576,
  "status": "completed",
  "type": "send",
  "value": "0",
  "description": "Sent 72.4438 USDT",
  "sent": [
    {
      "name": "Tether USD",
      "symbol": "USDT",
      "token_id": "0xdAC17F958D2ee523a2206206994597C13D831ec7",
      "decimals": 6,
      "value": "72443800",
      "logo_url": "https://assets.unmarshal.io/tokens/0xdAC17F958D2ee523a2206206994597C13D831ec7.png",
      "from": "0x986a2fCa9eDa0e06fBf7839B89BfC006eE2a23Dd",
      "to": "0xAc09b78E7Fa259d3b914d74052a54EE460240f5A"
    }
  ]
}

Last updated