Transactions

View transaction details

Read one transaction by its ID, or a page of transactions.

GET/transactions/{transaction_id}

Authorization

If set, the API uses an API key for authentication. Include the following header in your requests: X-blnk-key: <api-key>.

Replace <api-key> with your secret API key. Ensure the key is kept secure and not exposed in public repositories or client-side code.

See also: Core API key.

Path

transaction_idstringrequiredpath

Id of the transaction to retrieve. Leave transaction_id out to list transactions, newest first. The list returns one page, not every transaction in the ledger.

Query

These parameters apply to the list. A request for one transaction ignores them.

limitintegerdefault 20query

How many transactions to return. A value that is missing or not a positive integer is treated as 20.

offsetintegerdefault 0query

How many transactions to skip before the page starts. A value that is missing, negative, or not an integer is treated as 0.