Skip to main content

Asset

ERC-20 asset

type Asset {
id: ID!
address: Bytes!
chainId: BigInt!
decimals: BigInt!
name: String!
symbol: String!
streams(
skip: Int = 0
first: Int = 100
orderBy: Stream_orderBy
orderDirection: OrderDirection
where: Stream_filter
): [Stream!]!
}

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.streams ● [Stream!]! non-null object

Streams that rely on this token

Asset.streams.skip ● Int scalar
Asset.streams.first ● Int scalar
Asset.streams.orderBy ● Stream_orderBy enum
Asset.streams.orderDirection ● OrderDirection enum
Asset.streams.where ● Stream_filter input