Skip to main content

Asset

ERC-20 asset

type Asset {
id: String!
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 ● String! non-null scalar​

Unique identifier: asset-{chainId}-{address}

Asset.address ● Bytes! non-null scalar​

Address of the ERC-20 token.

Asset.chainId ● BigInt! non-null scalar​

The chain ID where the asset exists (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.

Asset.campaigns.skip ● Int scalar​
Asset.campaigns.first ● Int scalar​
Asset.campaigns.orderBy ● Campaign_orderBy enum​
Asset.campaigns.orderDirection ● OrderDirection enum​
Asset.campaigns.where ● Campaign_filter input​