Get ERC20 list asset bundle
GEThttps://api.testnet.vega.rocks/api/v2/erc20/asset/list/bundle
Get the signatures bundle to allowlist an ERC20 token in the collateral bridge
Request
Query Parameters
assetId stringrequired
Asset ID of the asset bundle requested.
Responses
- 200
- 500
- default
A successful response.
- application/json
- Schema
- Example (from schema)
Schema
assetSource string
Address of the asset on Ethereum.
nonce string
Nonce that uniquely identifies this signature bundle and prevents resubmission.
signatures string
Signatures bundle as hex encoded data, prefixed with 0x
e.g: 0x + sig1 + sig2 + ... + sixN
.
vegaAssetId string
Asset ID for the underlying Vega asset.
{
"assetSource": "string",
"nonce": "string",
"signatures": "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"
}
- curl
- python
- go
- nodejs
- CURL
curl -L 'https://api.testnet.vega.rocks/api/v2/erc20/asset/list/bundle' \
-H 'Accept: application/json'
ResponseClear