Skip to main content
Version: mainnet (v0.71)

List assets

Get a list of assets using cursor based pagination

Query Parameters
    assetId string

    Optional asset ID to list data for.

    pagination.first int32

    Number of records to be returned that sort greater than row identified by cursor supplied in 'after'.

    pagination.after string

    If paging forwards, the cursor string for the last row of the previous page.

    pagination.last int32

    Number of records to be returned that sort less than row identified by cursor supplied in 'before'.

    pagination.before string

    If paging forwards, the cursor string for the first row of the previous page.

    pagination.newestFirst boolean

    Newest records first, older records last, default is true.

Responses

A successful response.


Schema
    assets object

    Page of assets data and corresponding page information.

    edges object[]

    Page of assets data and their corresponding cursors.

    cursor string
    node object

    Asset data returned.

    details object

    Definition of the external source for this asset.

    builtinAsset object

    Vega built-in asset.

    maxFaucetAmountMint string
    decimals uint64
    erc20 object

    Ethereum ERC20 asset.

    contractAddress string
    lifetimeLimit string
    withdrawThreshold string
    name string
    quantum string
    symbol string
    id string
    status - STATUS_UNSPECIFIED: Default value, always invalid - STATUS_PROPOSED: Asset is proposed and under vote - STATUS_REJECTED: Asset has been rejected from governance - STATUS_PENDING_LISTING: Asset is pending listing from the bridge - STATUS_ENABLED: Asset is fully usable in the network

    Possible values: [STATUS_UNSPECIFIED, STATUS_PROPOSED, STATUS_REJECTED, STATUS_PENDING_LISTING, STATUS_ENABLED]

    pageInfo object

    Page information that is used for fetching further pages.

    endCursor string
    hasNextPage boolean
    hasPreviousPage boolean
    startCursor string
Loading...