Reading account transaction
Read transaction
GET
/api/public/v1/accounts/:account_id/transactions/:transaction_id/details
This endpoint returns data for a single transaction.
Headers
Name
Value
Content-Type
application/vnd.api+json
Authorization
Bearer <api_key>
Path Parameters
Name
Type
Description
account_id
string
Account ID.
transaction_id
string
Transaction ID.
Response
{
"data": {
"id": "28e51afe-a9f9-43f1-9204-cc90a7deb4f2",
"type": "coinDeposits",
"attributes": {
"txHash": "28b056c50e4725205a72fa975fdf6b1fb4ccdd7636995396cb6469fe858e2732",
"currencyCode": "BTC",
"createdAt": "2024-06-18T13:37:50.777Z",
"amount": "0.00010000",
"riskScore": "10.0"
},
"relationships": {
"network": {
"data": {
"type": "network",
"id": "a1d019ea-26f8-457b-931e-efb06a14ce59"
}
},
"address": {
"data": {
"type": "addresses",
"id": "cf57fd3d-a3de-42b2-bf1b-44fb2280940e"
}
}
}
},
"included": [
{
"id": "a1d019ea-26f8-457b-931e-efb06a14ce59",
"type": "network",
"attributes": {
"currencyCode": "BTC",
"name": "BTC Testnet"
}
},
{
"id": "cf57fd3d-a3de-42b2-bf1b-44fb2280940e",
"type": "addresses",
"attributes": {
"label": "Jun 18 2nd",
"value": "2N8uzZM46V3u5LQRixzTwJ5wguh53Vthb4a",
"createdAt": "2024-06-18T12:04:49.325Z"
},
"relationships": {
"account": {
"meta": {
"included": false
}
},
"network": {
"meta": {
"included": false
}
}
}
}
],
"meta": {},
"jsonapi": {
"version": "1.0"
}
}
Response Body
Name
Type
Description
data.id
string
Transaction ID.
data.type
string
Transaction type. Can be either exchangeTransactions
, coinDeposits
or manualTransactions
.
data.attributes
object
A set of transaction attributes.
Last updated