ContractFilter
The ContractFilter input specifies subsets of contract data to be retrieved.
Schema Definition
input ContractFilter {
address: String
assetType: AssetType
isERC20: Boolean
isERC721: Boolean
isERC1155: Boolean
createdAtGte: Time
createdAtLte: Time
createdBlockGte: UInt64
createdBlockLte: UInt64
decimals: Int
name: String
nameLike: String
symbol: String
symbolLike: String
holdersGte: UInt64
holdersLte: UInt64
}
Fields
| Field | Type | Description |
|---|---|---|
address | String scalar | Filter by a specific contract address. |
assetType | AssetType enum | Filter by the category of assets managed by the contract. |
isERC20 | Boolean scalar | Filter for contracts that meet the ERC-20 token standard. |
isERC721 | Boolean scalar | Filter for contracts that meet the ERC-721 token standard. |
isERC1155 | Boolean scalar | Filter for contracts that meet the ERC-1155 token standard. |
createdAtGte | Time scalar | Filter contracts created at or after this timestamp. |
createdAtLte | Time scalar | Filter contracts created at or before this timestamp. |
createdBlockGte | UInt64 scalar | Filter contracts deployed at or after this block number. |
createdBlockLte | UInt64 scalar | Filter contracts deployed at or before this block number. |
decimals | Int scalar | Filter by the exact number of decimal places used in tokens managed by contracts meeting the ERC-20 token standard. |
name | String scalar | Filter by exact contract name match. |
nameLike | String scalar | Filter by partial contract name match using pattern matching. |
symbol | String scalar | Filter by exact contract symbol match. |
symbolLike | String scalar | Filter by partial contract symbol match using pattern matching. |
holdersGte | UInt64 scalar | Filter contracts with an aggregate count of unique addresses holding its tokens greater than or equal to this value. |
holdersLte | UInt64 scalar | Filter contracts with an aggregate count of unique addresses holding its tokens less than or equal to this value. |
Member Of
BalanceFilter input ● contracts query ● TokenFilter input