For the complete documentation index, see llms.txt. This page is also available as Markdown.

Reading account transaction

GET /api/public/v1/accounts/:account_id/transactions/:transaction_id/details

Returns the details of a single account transaction. The data.type and the attributes returned depend on the underlying transaction — for example, a coinDeposits transaction includes the on-chain hash and risk score, along with its network and address in included[].

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

The example above shows a coinDeposits transaction. The attributes returned vary by transaction type.

Name
Type
Description

data.id

string

Transaction ID.

data.type

string

Transaction type. One of exchangeTransactions, coinDeposits, or manualTransactions.

data.attributes.txHash

string

On-chain transaction hash. Present for coinDeposits.

data.attributes.currencyCode

string

Transaction currency code.

data.attributes.createdAt

string

ISO 8601 timestamp of when the transaction was created.

data.attributes.amount

string

Transaction amount.

data.attributes.riskScore

string

Compliance risk score assigned to the deposit, where higher is riskier. Present for coinDeposits.

data.relationships.network

object

The network the deposit arrived on. Full entity in included[].

data.relationships.address

object

The receiving address the deposit was sent to. Full entity in included[].

included[].type(network)

object

Network entity: currencyCode and name.

included[].type(addresses)

object

Address entity: label, value, and createdAt.

Last updated