Skip to main content
GET
Get program wallet transaction history
Returns the transaction history for a program’s wallet, including fund, burn, PREFUNDED rule issuance draws, and redemption-target credits. created_after and created_before filter by when the ledger recorded the entry (created_at), while occurred_after and occurred_before filter by when the originating event occurred (event_timestamp).
For usage patterns and examples, see the Programs guide.

Authorizations

Authorization
string
header
default:sk_...
required

Send your API key as Authorization: Bearer <key>.

Path Parameters

program_id
string<uuid>
required

The program's id.

Query Parameters

limit
integer
default:50

Return at most this many records, from 1 to 200, default 50.

Required range: 1 <= x <= 200
cursor
string

The next_cursor from the previous response, valid only with the same endpoint and filters.

asset_id
string<uuid>

Filter by asset ID

bucket
enum<string>

Filter by balance bucket

Available options:
AVAILABLE,
HELD,
DEFERRED
created_after
string<date-time>

Return only records created after this time, RFC 3339.

created_before
string<date-time>

Return only records created before this time, RFC 3339.

occurred_after
string<date-time>

Return only records whose event occurred after this time, RFC 3339.

occurred_before
string<date-time>

Return only records whose event occurred before this time, RFC 3339.

Response

Transaction history

One page of program ledger entries, with the pagination details for the next page.

data
object[]

The program ledger entries on this page.

pagination
object

Whether another page follows, and the cursor that fetches it.