Transactions

Transactions

Endpoint: Transactions

/transactions/{address}

Returns a list of transactions for address across all networks sorted by time in descending order.

Example

https://datalayer.decommas.net/datalayer/api/v1/transactions/{address}?api-key={YOUR-API-KEY}

GET-params:

  • api-key
  • networks – name of the network for which the request is made or all to get information on all networks
  • limit - parameter for pagination (default 20, min 20, max 100)
  • offset - parameter for pagination (default 0)

Response example (ALL FIELDS ARE MANDATORY)

{
  "status": 200,
  "result": [
    {
      "chain_name": "mainnet",
      "chain_id": 1,
      "hash": "0xde77a477dc37bc7c42cdda06e7872316ca6904a90b309d72999b395605e02474",
      "block_number": 17089722,
      "block_timestamp": 1682018519,
      "from_address": "0x1bd9582f085b2f4575ffd53dd5c9ea328a677191",
      "to_address": "0xdac17f958d2ee523a2206206994597c13d831ec7",
      "value": "0",
      "fee": "3972928780700513",
      "method": "transfer",
      "method_hash": "0xa9059cbb",
      "status": true,
      "transaction_tags": "[usdt,stablecoin]",
      "deployed_contract": "0xce74a760b754f7717e7a62e389d4b153aa753e0e",
      "gas_price":"30032808611",
      "gas_used":"24102",
      "block_base_fee_per_gas":"29932808611"
    },
    {
      "chain_name": "mainnet",
      "chain_id": 1,
      "hash": "0x1cc7d25c3625246c5b41b7b3f0735b9b168550e18f1fb050236bf68a6ff2b7d2",
      "block_number": 17065856,
      "block_timestamp": 1681726691,
      "from_address": "0x1bd9582f085b2f4575ffd53dd5c9ea328a677191",
      "to_address": "0xdac17f958d2ee523a2206206994597c13d831ec7",
      "value": "0",
      "fee": "1271442723166336",
      "method": "transfer",
      "method_hash": "0xa9059cbb",
      "status": true,
      "transaction_tags": "[usdt,stablecoin]",
      "deployed_contract": "0xce74a760b754f7717e7a62e389d4b153aa753e0e",
      "gas_price":"30032808611",
      "gas_used":"24102",
      "block_base_fee_per_gas":"29932808611"
    }
  ]
}