Skip to main content

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

FieldTypeDescription
addressString scalarFilter by a specific contract address.
assetTypeAssetType enumFilter by the category of assets managed by the contract.
isERC20Boolean scalarFilter for contracts that meet the ERC-20 token standard.
isERC721Boolean scalarFilter for contracts that meet the ERC-721 token standard.
isERC1155Boolean scalarFilter for contracts that meet the ERC-1155 token standard.
createdAtGteTime scalarFilter contracts created at or after this timestamp.
createdAtLteTime scalarFilter contracts created at or before this timestamp.
createdBlockGteUInt64 scalarFilter contracts deployed at or after this block number.
createdBlockLteUInt64 scalarFilter contracts deployed at or before this block number.
decimalsInt scalarFilter by the exact number of decimal places used in tokens managed by contracts meeting the ERC-20 token standard.
nameString scalarFilter by exact contract name match.
nameLikeString scalarFilter by partial contract name match using pattern matching.
symbolString scalarFilter by exact contract symbol match.
symbolLikeString scalarFilter by partial contract symbol match using pattern matching.
holdersGteUInt64 scalarFilter contracts with an aggregate count of unique addresses holding its tokens greater than or equal to this value.
holdersLteUInt64 scalarFilter 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