Get ERC20 set asset limits bundle
Get the signature bundle to update the token limits. These are maxLifetimeDeposit
and withdrawThreshold
for a given ERC20 token that is
already allowlisted in the collateral bridge.
Query Parameters
proposalId string required
Proposal ID of the asset update proposal.
Responses
- 200
- 500
- default
A successful response.
application/json
Schema
Example (from schema)
Schema
assetSource string
lifetimeLimit string
nonce string
signatures string
threshold string
vegaAssetId string
{
"assetSource": "string",
"lifetimeLimit": "string",
"nonce": "string",
"signatures": "string",
"threshold": "string",
"vegaAssetId": "string"
}
An internal server error
application/json
Schema
Example (from schema)
Schema
code int32
details object[]
message string
{
"code": 0,
"details": [
{
"@type": "string"
}
],
"message": "string"
}
An unexpected error response.
application/json
Schema
Example (from schema)
Schema
code int32
details object[]
message string
{
"code": 0,
"details": [
{
"@type": "string"
}
],
"message": "string"
}
GET /api/v2/erc20/asset/limits/bundle
Request
Request
curl / cURL
curl -L -X GET 'https://vega-mainnet-data.commodum.io/api/v2/erc20/asset/limits/bundle' \
-H 'Accept: application/json'
python / requests
curl -L -X GET 'https://vega-mainnet-data.commodum.io/api/v2/erc20/asset/limits/bundle' \
-H 'Accept: application/json'
go / native
curl -L -X GET 'https://vega-mainnet-data.commodum.io/api/v2/erc20/asset/limits/bundle' \
-H 'Accept: application/json'
nodejs / axios
curl -L -X GET 'https://vega-mainnet-data.commodum.io/api/v2/erc20/asset/limits/bundle' \
-H 'Accept: application/json'