Get transaction by hash
GET/v1/transactions/hash/:hash
Get transaction by hash
This endpoint retrieves detailed information about a specific blockchain transaction using its hash. It supports filtering by chain and up to a certain date. The response includes transaction type, hash, creation time, sender and receiver details, asset data, and gas usage information.
Request
Path Parameters
hash stringrequired
Transaction hash
Query Parameters
chain string
Chain
until_date string
Until date
Responses
- 200
- 404
- 500
Transaction found
- application/json
- Schema
- Example (from schema)
Schema
blockNumber stringnullable
chainId int32nullable
createdAt stringrequired
from objectrequired
accountId uuidnullable
accountName stringnullable
address stringrequired
userId uuidnullable
userName stringnullable
gasPrice stringnullable
hash stringrequired
receiptGasUsed stringnullable
receivedAssetData objectnullable
address stringrequired
assetType stringrequired
chainId int32required
coingeckoId stringnullable
decimals int32nullable
fiatValue doublenullable
id uuidrequired
name stringnullable
symbol stringnullable
value int64[]nullable
sendedAssetData objectnullable
address stringrequired
assetType stringrequired
chainId int32required
coingeckoId stringnullable
decimals int32nullable
fiatValue doublenullable
id uuidrequired
name stringnullable
symbol stringnullable
value int64[]nullable
to objectrequired
accountId uuidnullable
accountName stringnullable
address stringrequired
contactId uuidnullable
contactName stringnullable
totalGasFiatValue doublenullable
type stringnullable
{
"blockNumber": "string",
"chainId": 0,
"createdAt": "string",
"from": {
"accountId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"accountName": "string",
"address": "string",
"userId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"userName": "string"
},
"gasPrice": "string",
"hash": "string",
"receiptGasUsed": "string",
"receivedAssetData": {
"address": "string",
"assetType": "string",
"chainId": 0,
"coingeckoId": "string",
"decimals": 0,
"fiatValue": 0,
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"name": "string",
"symbol": "string",
"value": [
0
]
},
"sendedAssetData": {
"address": "string",
"assetType": "string",
"chainId": 0,
"coingeckoId": "string",
"decimals": 0,
"fiatValue": 0,
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"name": "string",
"symbol": "string",
"value": [
0
]
},
"to": {
"accountId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"accountName": "string",
"address": "string",
"contactId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"contactName": "string"
},
"totalGasFiatValue": 0,
"type": "string"
}
Chain, Network or coingecko network not found
- text/plain
- Schema
Schema
string
Internal server error
- text/plain
- Schema
Schema
string
Loading...