Skip to main content

List OTC Transactions

Lists every accept and cancel started on one offer, newest first. Get OTC Offer Detail shows only the latest one; this list shows the whole history, for example an accept that failed twice before it settled. The offer's token node must be inside your API key's node subtree. An offer nobody has acted on answers an empty page.

Required permission: otc:view

Request​

GET /v2/admin/otcs/{otc_id}/transactions?page={page}&per_page={per_page}

Parameters​

NameTypeInDescription
otc_idstringpathRequired. The offer's own ID (24-character hex)
typeintegerquery1 accepts only, 2 cancels only. Omit for both
pageintegerqueryRequired. Page number, starting at 1
per_pageintegerqueryRequired. Items per page, 1–100

Headers​

NameDescription
AuthorizationRequired. Bearer <access_token>

Example​

curl --request GET \
--url '{{baseUrl}}/v2/admin/otcs/6a8b5d02f9129816a6cc79f4/transactions?page=1&per_page=20' \
--header 'Authorization: Bearer <access_token>'

Response​

{
"data": [
{
"id": "6a8b5e13f9129816a6cc7a12",
"type": 1,
"status": 3,
"hash": "0x9f2c1b7e4a0d3c5b6e8f1a2b3c4d5e6f708192a3b4c5d6e7f8091a2b3c4d5e6f",
"error": null,
"message": null,
"created_at": "2026-08-23T17:43:31.004Z",
"updated_at": "2026-08-23T17:44:01.220Z"
}
],
"total": 1,
"page": 1,
"per_page": 20
}

Response Fields​

FieldTypeDescription
dataarrayTransactions on this page
data[].idstringOTC transaction ID
data[].typeinteger1 accept, 2 cancel
data[].statusinteger1 Started, 2 InProgress, 3 Done, 4 Error, 5 PendingReceipt
data[].hashstring or nullOn-chain transaction hash, once known
data[].errorstring or nullFailure reason when status is 4
data[].messagestring or nullReason given with a cancel, when there was one
data[].created_atstringWhen the transaction was started
data[].updated_atstringLast status change
totalintegerNumber of transactions on the offer (after the type filter)
pageintegerCurrent page
per_pageintegerItems per page

Errors​

StatusCodeDescription
40010015Validation failed — see details. Includes an otc_id that is not a 24-character hex ID and a type other than 1 or 2
40011001 (domain 11)Offer not found
40010001 (domain 5)The offer's token was not found
40010001 (domain 2)The token's node was not found
40310005 (domain 2)The token's node is outside your API key's node subtree
50010000Unexpected server error

See Errors for the error format and common codes.