Skip to main content

Endpoint

POST /info

Request Body

ParameterTypeDescription
type*stringMust be "ledger"
user*stringUser wallet address

Response

[
  {
    "time": 1701230000000,
    "hash": "0x5678efgh...",
    "delta": {
      "coin": "USDC",
      "type": "deposit",
      "usdc": "10000.00",
      "szi": "0"
    }
  },
  {
    "time": 1701234567890,
    "hash": "0x1234abcd...",
    "delta": {
      "coin": "BTC",
      "type": "funding",
      "usdc": "-2.50",
      "szi": "0.1",
      "rate": "0.0001"
    }
  }
]

Response Fields

FieldTypeDescription
timenumberEntry timestamp
hashstringEvent or transaction hash
delta.coinstringAsset symbol
delta.typestringdeposit, withdrawal, funding, interest, or rewards
delta.usdcstringSigned USDC value
delta.szistringPosition size when relevant
delta.ratestringFunding or interest rate when relevant
statusstringOptional withdrawal status: pending, complete, or failed

Notes

  • Results are sorted in ascending timestamp order. - Deposit entries do not include a status field. - Withdrawal entries may include status: "pending", status: "complete", or status: "failed".