Get All Matches
Retrieve all matches from the database, in descending slot_no order. Results are streamed to the client for more efficiency.
Optionally, use ?resolve_hashes to automatically resolve and include datum and script associated with hash references, if available. Datums and scripts can otherwise be fetched using the Get Datum by Hash and Get Script by Hash endpoints respectively.
Note that it is generally a bad idea to fetch ALL matches for indexes built off permissive patterns (e.g. *), for the server will yield a large response.
Query parameters
A query flag (i.e. ?resolve_hashes) to resolve hash references and include datum and script when available.
A query flag (i.e. ?spent) to filter matches by status, to get only 'spent' matches. Note that, when running kupo with --prune-utxo, this will always return an empty list of results.
A query flag (i.e. ?unspent) filter matches by status, to get only 'unspent' matches.
Order results by their location on-chain. By default, most recent results are returned first (i.e. by descending created_at.slot_no). Within a same slot, results are ordered in function of their position in the block (i.e. transaction_index).
Fetch only results created after (inclusive) some point.
<sup><strong>NOTE</strong></sup> <br/>
This can be combined with an upper bound (e.g. {created, spent}_before) but cannot be combined with another lower bound.
Fetch only results spent after (inclusive) some point.
<sup><strong>NOTE</strong></sup> <br/>
This can be combined with an upper bound (e.g. {created, spent}_before) but cannot be combined with another lower bound.
Fetch only results created before (inclusive) some point.
<sup><strong>NOTE</strong></sup> <br/>
This can be combined with a lower bound (e.g. {created, spent}_after) but cannot be combined with another upper bound.
Fetch only results spent before (inclusive) some point.
<sup><strong>NOTE</strong></sup> <br/>
This can be combined with a lower bound (e.g. {created, spent}_after) but cannot be combined with another upper bound.
Filters results to only those containing assets of a specific policy id. Useful when combined with a pattern as path-parameter.
<sup><strong>WARNING</strong></sup> <br/>
Query filters are slower than path-parameters. If you only need to match for a specific policy id, use an explicit Pattern as path-parameter instead.
Filters results to only those containing assets of a specific asset id. This parameter can't be used alone and must be provided alongside a policy_id.
A blake2b-256 hash digest of a transaction body.
Filters results by transaction id to retrieve items originating from that transaction only. Useful when combined with a pattern as path-parameter.
<sup><strong>WARNING</strong></sup> <br/>
Query filters are slower than path-parameters. If you only need to match for a specific transaction id, use an explicit Pattern as path-parameter instead.
Restrict results to a particular output index of a transaction. This parameter can't be used alone and must be provided alongside a transaction_id.
Response
OK