Asset
ERC-20 asset
type Asset {
id: String!
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
● 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.streams
● [Stream!]!
non-null object
Streams that rely on this token