Get participant statement
Returns a running-balance statement of a participant’s ledger activity for one asset, with opening and closing balances for the window.
asset_id is required. from and to window which rows are returned, but balances always reflect the account’s full history, so a windowed statement’s closing balance equals the participant’s balance as of to. Pass bucket to scope rows and balances to AVAILABLE, HELD, or DEFERRED.
Authorizations
API key passed in the X-API-Key header.
Path Parameters
Participant ID
Query Parameters
Asset to produce the statement for
Scope the statement (rows and running balance) to a single bucket
AVAILABLE, HELD, DEFERRED Start of statement window (RFC 3339) — selects returned rows on system ingestion time
End of statement window (RFC 3339) — selects returned rows on system ingestion time
Maximum number of results (default 50, max 200)
x >= 1Pagination cursor from previous response
Response
Statement page with running balances
Asset the statement covers
"550e8400-e29b-41d4-a716-446655440000"
Bucket scope, when the statement was requested for a single bucket. Absent when the statement covers all buckets (running balance is then the total across buckets).
"AVAILABLE"
Scope balance as of the end of the window (the current balance when no to is given). Always equals the as-of(to) balance for the same entity/asset/bucket scope, regardless of pagination.
"350"
Statement lines, oldest first
Start of the statement window, when provided
"2024-01-01T00:00:00Z"
Scope balance immediately before the window ("0" when no from is given)
"250"
Pagination metadata for fetching subsequent statement pages
End of the statement window, when provided
"2024-02-01T00:00:00Z"