For the complete documentation index, see llms.txt. This page is also available as Markdown.

GET /funding

Account funding payments

Account funding payments.

operationId: fetchAccountFunding

Authentication: hmacAuth.

Funding payment history for the authenticated account, newest first.

This is a bounded window, not the account's whole history. The rows are served from an in-memory tier, so the answer reaches back only as far as x-nexus-funding-oldest-ms says — older rows are persisted durably and are not returned. x-nexus-funding-truncated reports the separate question of whether limit cut the list. A short answer is not evidence that the account paid no funding.

Parameters

Name
In
Type
Required
Default
Description

limit

query

integer

No

100

Maximum records to return

Responses

Status
Body
Meaning

200

array of AccountFunding

Funding payments, newest first.

401

(no schema declared)

Example

curl -X GET 'https://exchange.nexus.xyz/api/exchange/funding' \
  -H 'X-API-Key: nx_7f3a1b...' \
  -H 'X-Timestamp: 1776033911836' \
  -H 'X-Signature: <hmac-sha256>'
import requests

headers = {
    "X-API-Key": "nx_7f3a1b...",
    "X-Timestamp": "1776033911836",
    "X-Signature": "<hmac-sha256>"
}

response = requests.get("https://exchange.nexus.xyz/api/exchange/funding", headers=headers)
response.raise_for_status()
print(response.json())
const response = await fetch("https://exchange.nexus.xyz/api/exchange/funding", {
  method: "GET",
  headers: {
    "X-API-Key": "nx_7f3a1b...",
    "X-Timestamp": "1776033911836",
    "X-Signature": "<hmac-sha256>"
  },
});
if (!response.ok) throw new Error(`${response.status} ${await response.text()}`);
console.log(await response.json());

X-Signature is a placeholder: it is derived from this specific request. See Authentication for the canonical string and the HMAC rule.


Generated from eng/apps/exchange/api/openapi.json (spec 0.9.36). Do not edit by hand — regenerate with python3 product/docs/tools/api-reference/generate.py. Hand-authored context lives in the Guides pages.

Last updated