Luxor Documentation Hub Logo
Mining Pool/API Documentation/Payments

Get transactions

Returns a list of all transactions associated to one or more subaccounts, and a currency profile and a specified time period.

GET
/v1/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_namesarray<string>

An array of subaccount names for which to retrieve summary information.

group_idstring

An alternate shortcut for specifying subaccounts. Can be used in place of subaccount_names

Format: "uuid"
start_dateRequiredstring

The start date to use for the returned data.

Format: "date"
end_dateRequiredstring

The end date to use for the returned data.

Format: "date"
page_numbernumber

The page number to use for the returned data.

Minimum: 1
page_sizenumber

The page size to use for the returned data.

Minimum: 1
curl -X GET "https://beta.luxor.tech/api/v1/pool/transactions/BTC?subaccount_names=subaccount_1%2Csubaccount_2&group_id=497f6eca-6276-4993-bfeb-53cbbbba6f08&start_date=2025-01-01&end_date=2025-01-31&page_number=1&page_size=10" \
  -H "authorization: <token>"

Default Response

{
  "transactions": [
    {
      "address_name": "wallet-1",
      "subaccount_name": "subaccount_1",
      "description": "Miner Revenue",
      "date_time": "2025-01-01T00:00:00Z",
      "currency_amount": 0.00066154,
      "currency_type": "BTC",
      "usd_equivalent": 661.54,
      "transaction_id": "001asdfasdf"
    }
  ],
  "pagination": {
    "page_number": 0,
    "page_size": 0,
    "item_count": 0,
    "previous_page_url": "string",
    "next_page_url": "string"
  }
}