Transactions
Get a paginated list of all transactions in the specified pool that match the provided filter
Pool ID in hex format
Optional pool filter; hex-encoded pool id
Optional asset pair filter; provide both tokens to filter by a specific pair
List of transactions
Invalid pubkey format
GET /transaction/pool/{pool_id} HTTP/1.1
Host: 127.0.0.1:3000
Accept: */*
{
"response": [
{
"id": "text",
"status": {
"type": "queued"
},
"rollbackStatus": {
"message": "text",
"type": "rolledback"
},
"bitcoinTxId": null,
"bitcoinBlockHeight": null,
"bitcoinTxStatus": null,
"blockHeight": "text",
"poolPubkey": "text",
"userPubkey": "text",
"transactionType": "open_position",
"createdAt": "2025-11-07T04:45:28.075Z",
"details": {
"type": "initialize_protocol"
},
"writableAccounts": [
"text"
]
}
],
"nextCursor": null
}Fetches a paginated list of user's transactions that match the provided filter
User public key in hex format
Optional pool filter; hex-encoded pool id
Optional asset pair filter; provide both tokens to filter by a specific pair
Paginated list of transactions
Invalid pubkey format
GET /transaction/user/{pubkey} HTTP/1.1
Host: 127.0.0.1:3000
Accept: */*
{
"response": [
{
"transaction": {
"id": "text",
"status": {
"type": "queued"
},
"rollbackStatus": {
"message": "text",
"type": "rolledback"
},
"bitcoinTxId": null,
"bitcoinBlockHeight": null,
"bitcoinTxStatus": null,
"blockHeight": "text",
"poolPubkey": "text",
"userPubkey": "text",
"transactionType": "open_position",
"createdAt": "2025-11-07T04:45:28.075Z",
"details": {
"type": "initialize_protocol"
},
"writableAccounts": [
"text"
]
},
"token0": {
"id": "text",
"name": "text",
"displayName": "text",
"symbol": null,
"divisibility": 1,
"supply": "text",
"createdAt": "2025-11-07T04:45:28.075Z",
"updatedAt": "2025-11-07T04:45:28.075Z",
"type": "btc"
},
"token1": {
"id": "text",
"name": "text",
"displayName": "text",
"symbol": null,
"divisibility": 1,
"supply": "text",
"createdAt": "2025-11-07T04:45:28.075Z",
"updatedAt": "2025-11-07T04:45:28.075Z",
"type": "btc"
}
}
],
"nextCursor": null
}Paginated list of all transactions that match the provided filter
Optional pool filter; hex-encoded pool id
Optional asset pair filter; provide both tokens to filter by a specific pair
Paginated list of transactions
GET /transaction/all HTTP/1.1
Host: 127.0.0.1:3000
Accept: */*
Paginated list of transactions
{
"response": [
{
"id": "text",
"status": {
"type": "queued"
},
"rollbackStatus": {
"message": "text",
"type": "rolledback"
},
"bitcoinTxId": null,
"bitcoinBlockHeight": null,
"bitcoinTxStatus": null,
"blockHeight": "text",
"poolPubkey": "text",
"userPubkey": "text",
"transactionType": "open_position",
"createdAt": "2025-11-07T04:45:28.075Z",
"details": {
"type": "initialize_protocol"
},
"writableAccounts": [
"text"
]
}
],
"nextCursor": null
}List of swap transactions for specific collections
Optional status filter; defaults to processed when not provided
Filter for high-level transaction processing status
Optional rollback status filter
Filter for rollback state
Paginated list of transactions
GET /transaction/swaps?token0=text&token1=text HTTP/1.1
Host: 127.0.0.1:3000
Accept: */*
Paginated list of transactions
{
"response": [
{
"transaction": {
"id": "text",
"status": {
"type": "queued"
},
"rollbackStatus": {
"message": "text",
"type": "rolledback"
},
"bitcoinTxId": null,
"bitcoinBlockHeight": null,
"bitcoinTxStatus": null,
"blockHeight": "text",
"poolPubkey": "text",
"userPubkey": "text",
"transactionType": "open_position",
"createdAt": "2025-11-07T04:45:28.075Z",
"details": {
"type": "initialize_protocol"
},
"writableAccounts": [
"text"
]
},
"token0": {
"id": "text",
"name": "text",
"displayName": "text",
"symbol": null,
"divisibility": 1,
"supply": "text",
"createdAt": "2025-11-07T04:45:28.075Z",
"updatedAt": "2025-11-07T04:45:28.075Z",
"type": "btc"
},
"token1": {
"id": "text",
"name": "text",
"displayName": "text",
"symbol": null,
"divisibility": 1,
"supply": "text",
"createdAt": "2025-11-07T04:45:28.075Z",
"updatedAt": "2025-11-07T04:45:28.075Z",
"type": "btc"
}
}
],
"nextCursor": null
}Last updated