Are you an LLM? Read llms.txt for a summary of the docs, or llms-full.txt for the full context.
Skip to content

userNonFundingLedgerUpdates

Non-funding ledger rows. Vault deposits & withdrawals must send deltaTypes: ["deposit","withdraw"] so the service uses the deposit/withdraw path and can return total as the sum of both counts.

Omit deltaTypes for the wider ledger (token-send, vault events, multi-chain). That merge has no reliable total. There is no contract or side filter.

Include outcome in accountTypes to return transfers and other non-funding changes involving the Outcome sub-account.

POST/infotype userNonFundingLedgerUpdates

Render the Deposits & Withdrawals / transfer ledger.paged { data, hasMore, total? }

Request body
typestringrequired

Must be `userNonFundingLedgerUpdates`.

"userNonFundingLedgerUpdates"
userstring · addressrequired

Account to query. No auth — the body `user` is the subject.

accountTypesstring[]optional

Optional post-filter on token-send `from` / `to` account types. Applied to at most one page of token-send rows.

channelinteger · uint32optional

Optional bridge-history channel. Usually omitted.

deltaTypesstring[]optional

Vault D&W pages must send `["deposit","withdraw"]` — that path skips token-send / vault-event and can return `total` as the sum of both counts. Omit for the wider ledger (no reliable `total`).

endTimeMsinteger · uint64optional

Inclusive window end, Unix milliseconds. Alias: `endTime`.

limitinteger · int64optional

Page size. Default `300`; max `2000` (export). Values above 2000 are clamped. `<= 0` is rejected.

offsetinteger · int64optional

Skip this many newest-first rows. Omit or `0` for the first page; page N is `(N - 1) * limit`. Max `200000`. Alias: `from` on some types.

startTimeMsinteger · uint64optional

Inclusive window start, Unix milliseconds. Alias: `startTime`.

Request example
curl -X POST https://rpc.txflow-testnet.xyz/info \
  -H "Content-Type: application/json" \
  -H "x-api-version: 2026-08-16" \
  -d '{
  "type": "userNonFundingLedgerUpdates",
  "user": "0x0000000000000000000000000000000000000001",
  "deltaTypes": [
    "deposit",
    "withdraw"
  ],
  "offset": 0,
  "limit": 20
}'
Try it
POST https://rpc.txflow-testnet.xyz/info
Response 200
codeinteger

`0` on success.

dataobject
dataLedgerUpdate[]

Newest-first rows for this page.

hasMoreboolean

`true` when more rows exist after this page. Prefer this over guessing from a missing `total`.

totalinteger · uint64

Omitted when the count is unknown.

successboolean
Response example
{
  "success": true,
  "code": 0,
  "data": {
    "data": [
      {
        "time": 1720000000000,
        "hash": "0xabc",
        "delta": {
          "type": "deposit",
          "amount": "100",
          "status": "completed",
          "txflowBlockNumber": 12345,
          "txflowHash": "",
          "chain": "Arbitrum",
          "address": "0x0000000000000000000000000000000000000001"
        }
      }
    ],
    "hasMore": true,
    "total": 1337
  }
}