query
and containing a JSON object describing the filter criteria.order:XXXX:pending
In order to get all accounts, with unique value XXXX
of order segment, we use this regex-like syntax order::pending
.
:
. If a segment is empty in the filter, it is interpreted as a wildcard match. Moreover, if the filter ends with a semi-colon, it is interpreted as an open-ended wildcard.foo
with the value bar
.
$and
and $or
operations.
Here is an example:
$and
operation. The result will only include resources that match both filters.
$and
/$or
: Takes expression arrays as parameters.$match
: Equality operator. Takes an object containing a single key/value pair as parameter.$lt
: Lower. Same format as $match
.$lte
: Lower or equal. Same format as $match
.$gt
: Greater. Same format as $match
.$gte
: Greater than or equal to. Same format as $match
.$exists
: test the existence of a metadata$not
: Inverse the result of the expression. It takes an expression as parameter and returns the opposite decision.
To invert the result of a $match
operation, you can use the $not
operation like this:
address
: The address of the account.metadata[XXX]
: The metadata field XXX
of the account. You can use the $exists
operator to test the existence of a metadata field, or the $match
operator to filter on the value of a metadata field.metadata
: The account metadata. You can use the $exists
operator to test whether the account has metadata or not.balance[ASSET]
: The balance of the account for the asset ASSET
. You can use the $lt
, $lte
, $gt
, $gte
, or $match
operators to filter on the balance.reference
: The reference of the transaction.timestamp
: The timestamp of the transaction. Note that it is the time at which the transaction has occurred, not the time at which it has been recorded in the ledger. See the reference documentation about bi-temporality for more information.reverted
: Whether the transaction has been reverted or not. You can use the $match
with the value true
or false
to filter on this field.account
: Either the source
or the destination
of the transaction. You can use the $match
operator to filter on this field.source
: The source account address of the transaction.destination
: The destination account address of the transaction.metadata[XXX]
: The metadata field XXX
of the transaction. You can use the $exists
operator to test the existence of a metadata field, or the $match
operator to filter on the value of a metadata field.metadata
: The transaction metadata. You can use the $exists
operator to test whether the transaction has metadata or not.account
: The account address of the volume. You can use the $match
operator to filter on this field.metadata[XXX]
: The metadata field XXX
of the volume. You can use the $exists
operator to test the existence of a metadata field, or the $match
operator to filter on the value of a metadata field.metadata
: The volume metadata. You can use the $exists
operator to test whether the volume has metadata or not.balance[ASSET]
: The balance of the volume for the asset ASSET
. You can use the $lt
, $lte
, $gt
, $gte
, or $match
operators to filter on the balance.