Asset
Get a single asset using its identifier
Path Parameters
- assetId string required
Responses
- 200
- default
A successful response.
- application/json
- Schema
- Example (from schema)
Schema
asset object
details object
builtinAsset object
maxFaucetAmountMint Maximum amount that can be requested by a party through the built-in asset faucet at a timedecimals uint64erc20 object
contractAddress The address of the contract for the token, on the ethereum networklifetimeLimit The lifetime limits deposit per address note: this is a temporary measure that can be changed by governancewithdrawThreshold The maximum you can withdraw instantly. All withdrawals over the threshold will be delayed by the withdrawal delay. There’s no limit on the size of a withdrawal note: this is a temporary measure that can be changed by governancename Name of the asset (e.g: Great British Pound)quantum The minimum economically meaningful amount in the assetsymbol Symbol of the asset (e.g: GBP)id Internal identifier of the assetstatus Status of the assetPossible values: [
STATUS_UNSPECIFIED
,STATUS_PROPOSED
,STATUS_REJECTED
,STATUS_PENDING_LISTING
,STATUS_ENABLED
]Default value:
STATUS_UNSPECIFIED
{
"asset": {
"details": {
"builtinAsset": {
"maxFaucetAmountMint": "string"
},
"decimals": "string",
"erc20": {
"contractAddress": "string",
"lifetimeLimit": "string",
"withdrawThreshold": "string"
},
"name": "string",
"quantum": "string",
"symbol": "string"
},
"id": "string",
"status": "STATUS_UNSPECIFIED"
}
}
An unexpected error response.
- application/json
- Schema
- Example (from schema)
Schema
- code int32
details object[]
@type string- message string
{
"code": 0,
"details": [
{
"@type": "string"
}
],
"message": "string"
}
Loading...