Luxor Documentation Hub Logo
Mining Pool/API Documentation/V2/Payments

Get transactions

Returns a list of all transactions associated to a list of subaccounts or a site.

GET
/v2/pool/transactions/{currency_type}

Authorization

authorization<token>

Use your API key here.

In: header

Path Parameters

currency_typeRequiredstring

Which currency to query, e.g. BTC or ZEN.

Value in: "BTC" | "LTC_DOGE" | "SC" | "ZEC" | "ZEN"

Query Parameters

subaccount_namesAny properties in Any properties in string,array<string>,array<string>
site_idAny properties in string,string
start_dateRequiredstring
Format: "date"
end_dateRequiredstring
Format: "date"
transaction_typestring

The transaction concept to filter by.

Value in: "debit" | "credit"
page_numberinteger
Default: 1Minimum: 1
page_sizeinteger
Default: 10Minimum: 1
curl -X GET "https://app.luxor.tech/api/v2/pool/transactions/BTC?subaccount_names=my_subaccount%2Canother_subaccount&site_id=b0a5fad8-0e09-4f10-ac20-ccd80fb2d138&start_date=2025-01-01&end_date=2025-01-31&transaction_type=debit&page_number=1&page_size=10" \
  -H "authorization: <token>"

Default Response

{
  "transactions": [
    {
      "currency_type": "BTC",
      "date_time": "2019-08-24T14:15:22Z",
      "address_name": "wallet-1",
      "subaccount_name": "my_subaccount",
      "transaction_category": "Miner Revenue",
      "currency_amount": 0.00066154,
      "usd_equivalent": 661.54,
      "transaction_id": "001asdfasdf",
      "transaction_type": "debit"
    }
  ],
  "pagination": {
    "page_number": 1,
    "page_size": 1,
    "item_count": 0,
    "previous_page_url": null,
    "next_page_url": null
  }
}