List assets
Get a list of assets using cursor based pagination
Query Parameters
Optional asset ID to list data for.
Number of records to be returned that sort greater than row identified by cursor supplied in 'after'.
If paging forwards, the cursor string for the last row of the previous page.
Number of records to be returned that sort less than row identified by cursor supplied in 'before'.
If paging forwards, the cursor string for the first row of the previous page.
Newest records first, older records last, default is true.
- 200
- 500
- default
A successful response.
Schema
assets object
Page of assets data and corresponding page information.
edges object[]
Page of assets data and their corresponding cursors.
node object
Asset data returned.
details object
Definition of the external source for this asset.
builtinAsset object
Vega built-in asset.
erc20 object
Ethereum ERC20 asset.
Possible values: [STATUS_UNSPECIFIED
, STATUS_PROPOSED
, STATUS_REJECTED
, STATUS_PENDING_LISTING
, STATUS_ENABLED
]
pageInfo object
Page information that is used for fetching further pages.
{
"assets": {
"edges": [
{
"cursor": "string",
"node": {
"details": {
"builtinAsset": {
"maxFaucetAmountMint": "string"
},
"decimals": "string",
"erc20": {
"contractAddress": "string",
"lifetimeLimit": "string",
"withdrawThreshold": "string"
},
"name": "string",
"quantum": "string",
"symbol": "string"
},
"id": "string",
"status": "STATUS_UNSPECIFIED"
}
}
],
"pageInfo": {
"endCursor": "string",
"hasNextPage": true,
"hasPreviousPage": true,
"startCursor": "string"
}
}
}
An internal server error
Schema
details object[]
{
"code": 0,
"details": [
{
"@type": "string"
}
],
"message": "string"
}
An unexpected error response.
Schema
details object[]
{
"code": 0,
"details": [
{
"@type": "string"
}
],
"message": "string"
}