All filter types that can be applied to account query 'filter' objects
Overview
Several of Carpool's account queries accept a filter object in the POST body. This is an abstraction on top of Elasticsearch and is made to help users perform powerful aggregations and searches. Below you can find all possible filters for account queries
Account Filters
💰 ACCOUNT_LAMPORTS
Description:
Filter for accounts within a specified lamport range or value
// Either an equality check, or GTE/LTE range, one of which must be set.exporttypeNumericRange=XOR<XOR<{ gte:number; lte?:number;}, { gte?:number; lte:number;}>, { eq:number }>;
// Either an equality check, or GTE/LTE range, one of which must be set.exporttypeNumericRange=XOR<XOR<{ gte:number; lte?:number;}, { gte?:number; lte:number;}>, { eq:number }>;
// Either an equality check, or GTE/LTE range, one of which must be set.exporttypeNumericRange=XOR<XOR<{ gte:number; lte?:number;}, { gte?:number; lte:number;}>, { eq:number }>;
It is important to note that you can also combine any of the above filters within a single query. You can return results based on an AND or OR condition.
You can also negate filters if you'd like to look for all accounts that do not match the filter criteria. To negate, simply add "negate": true to the top level of the filter.