Asset
ERC-20 asset
type Asset {
id: ID!
address: Bytes!
chainId: BigInt!
decimals: BigInt!
name: String!
symbol: String!
campaigns(
skip: Int = 0
first: Int = 100
orderBy: Campaign_orderBy
orderDirection: OrderDirection
where: Campaign_filter
): [Campaign!]!
}
Fields
Asset.id
● ID!
non-null scalar
Contract address of the ERC20 token
Asset.address
● Bytes!
non-null scalar
Alias for id
Asset.chainId
● BigInt!
non-null scalar
The id of the chain, e.g. 137 for Polygon
Asset.decimals
● BigInt!
non-null scalar
Decimals of the ERC20 token
Asset.name
● String!
non-null scalar
Name of the ERC20 token
Asset.symbol
● String!
non-null scalar
Symbol of the ERC20 token
Asset.campaigns
● [Campaign!]!
non-null object
Campaigns that rely on this asset.