Skip to main content

Asset

ERC-20 asset

type Asset {
id: String!
address: Bytes!
chainId: BigInt!
decimals: BigInt!
name: String!
symbol: String!
flowStreams(
skip: Int = 0
first: Int = 100
orderBy: FlowStream_orderBy
orderDirection: OrderDirection
where: FlowStream_filter
): [FlowStream!]!
lockupStreams(
skip: Int = 0
first: Int = 100
orderBy: LockupStream_orderBy
orderDirection: OrderDirection
where: LockupStream_filter
): [LockupStream!]!
}

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

Flow streams that rely on this token

Asset.flowStreams.skip ● Int scalar
Asset.flowStreams.first ● Int scalar
Asset.flowStreams.orderBy ● FlowStream_orderBy enum
Asset.flowStreams.orderDirection ● OrderDirection enum
Asset.flowStreams.where ● FlowStream_filter input

Asset.lockupStreams ● [LockupStream!]! non-null object

Lockup streams that rely on this token

Asset.lockupStreams.skip ● Int scalar
Asset.lockupStreams.first ● Int scalar
Asset.lockupStreams.orderBy ● LockupStream_orderBy enum
Asset.lockupStreams.orderDirection ● OrderDirection enum
Asset.lockupStreams.where ● LockupStream_filter input