List every call to a Stacks contract function
Every contract call is decoded and indexed, so one function's history is a filtered read. Each row carries its arguments already parsed from Clarity. One key, one call:
args holds the call's arguments in order, one entry per parameter, as plain JSON. Read the order and names from the contract's ABI: transfer takes the amount, sender, recipient, then an optional memo.
A read with no from_height or cursor covers only the most recent ~17,280 blocks, so pass a start to go further back.
| Narrow by | Param |
|---|---|
| One function | functionName |
| Who called it | sender |
| Several contracts | contractId as a list (max 20) |
| Every contract of a standard | trait, instead of contractId |
| A block range | fromHeight, toHeight |
- There is no
statusfilter: failed calls come back too, so check each row'sstatus. - Only calls a transaction makes directly are listed.
- Reads run oldest first; there is no
orderparameter on this feed.
Pass the last next_cursor back as the next cursor. It comes back null only on an empty page, which ends the loop.
Pass a start height or a cursor, never both: drop the height once you hold a cursor. For a one-off export, walk() does the paging for you; it keeps no checkpoint (list, walk, consume).
Hosted reads are metered, with a free monthly allowance (What it costs). A busy function means many rows, so narrow by height before you page.
Every filter and the response schema: Decoded contract-call transactions. The decoded feeds are described in Index.
Edit on GitHub