Transactions

get

Get a paginated list of all transactions in the specified pool that match the provided filter

Path parameters
pool_idstringRequired

Pool ID in hex format

Query parameters
startDatestring | nullOptional
endDatestring | nullOptional
typesarray | nullOptional
offsetinteger | nullOptional
limitinteger | nullOptional
sortCreatedAtone ofOptional
nullOptional
or
string · enumOptionalPossible values:
Responses
200
List of transactions
application/json
get
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-07-01T21:08:46.552Z",
      "details": {
        "positionId": "text",
        "token0Amount": "text",
        "token1Amount": "text",
        "liquidityAmount": "text",
        "diffLiquidityAmount": "text",
        "type": "open_position"
      }
    }
  ],
  "offset": 1
}
get

Fetches a paginated list of user's transactions that match the provided filter

Path parameters
pubkeystringRequired

User public key in hex format

Query parameters
startDatestring | nullOptional
endDatestring | nullOptional
typesarray | nullOptional
offsetinteger | nullOptional
limitinteger | nullOptional
sortCreatedAtone ofOptional
nullOptional
or
string · enumOptionalPossible values:
Responses
200
Paginated list of transactions
application/json
get
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-07-01T21:08:46.552Z",
        "details": {
          "positionId": "text",
          "token0Amount": "text",
          "token1Amount": "text",
          "liquidityAmount": "text",
          "diffLiquidityAmount": "text",
          "type": "open_position"
        }
      },
      "token0": {
        "id": "1234:5678",
        "name": "text",
        "displayName": "text",
        "symbol": null,
        "divisibility": 1,
        "batchSize": 1,
        "supply": "text",
        "createdAt": "2025-07-01T21:08:46.552Z",
        "updatedAt": "2025-07-01T21:08:46.552Z",
        "type": "btc"
      },
      "token1": {
        "id": "1234:5678",
        "name": "text",
        "displayName": "text",
        "symbol": null,
        "divisibility": 1,
        "batchSize": 1,
        "supply": "text",
        "createdAt": "2025-07-01T21:08:46.552Z",
        "updatedAt": "2025-07-01T21:08:46.552Z",
        "type": "btc"
      }
    }
  ],
  "offset": 1
}
get

Paginated list of all transactions that match the provided filter

Query parameters
startDatestring | nullOptional
endDatestring | nullOptional
typesarray | nullOptional
offsetinteger | nullOptional
limitinteger | nullOptional
sortCreatedAtone ofOptional
nullOptional
or
string · enumOptionalPossible values:
Responses
200
Paginated list of transactions
application/json
get
GET /transaction/all HTTP/1.1
Host: 127.0.0.1:3000
Accept: */*
200

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-07-01T21:08:46.552Z",
      "details": {
        "positionId": "text",
        "token0Amount": "text",
        "token1Amount": "text",
        "liquidityAmount": "text",
        "diffLiquidityAmount": "text",
        "type": "open_position"
      }
    }
  ],
  "offset": 1
}
get

List of swap transactions for specific collections

Query parameters
token0string · tokenRequired

Token identifier in format block:tx

Example: 1234:5678
token1string · tokenRequired

Token identifier in format block:tx

Example: 1234:5678
offsetinteger | nullOptional
limitinteger | nullOptional
Responses
200
Paginated list of transactions
application/json
get
GET /transaction/swaps HTTP/1.1
Host: 127.0.0.1:3000
Accept: */*
200

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-07-01T21:08:46.552Z",
        "details": {
          "positionId": "text",
          "token0Amount": "text",
          "token1Amount": "text",
          "liquidityAmount": "text",
          "diffLiquidityAmount": "text",
          "type": "open_position"
        }
      },
      "token0": {
        "id": "1234:5678",
        "name": "text",
        "displayName": "text",
        "symbol": null,
        "divisibility": 1,
        "batchSize": 1,
        "supply": "text",
        "createdAt": "2025-07-01T21:08:46.552Z",
        "updatedAt": "2025-07-01T21:08:46.552Z",
        "type": "btc"
      },
      "token1": {
        "id": "1234:5678",
        "name": "text",
        "displayName": "text",
        "symbol": null,
        "divisibility": 1,
        "batchSize": 1,
        "supply": "text",
        "createdAt": "2025-07-01T21:08:46.552Z",
        "updatedAt": "2025-07-01T21:08:46.552Z",
        "type": "btc"
      }
    }
  ],
  "offset": 1
}

Last updated