API References v20
General
/getPresetCoins
1 min
POST
/getPresetCoins
An API for getting predefined EVM coins, ERC20 and TRC20 tokens that can be added to the system. The data returned by this API can be used for the addEvmCoin, addErc20Token and addTrc20Token API endpoints.
return: JSON object containing an array of all the coins active in the account.
-------------------- Request --------------------
getPresetCoins()
-------------------- Response --------------------
{
"FunctionData": {
"PresetErc20TokensSignedByCold": [
{
"Address": "0x0000000000000000000000000000000000001010",
"ChainId": 137,
"Decimals": 18,
"Name": "Polygon Token",
"Symbol": "POL",
"Time": "2025-09-30 15:14
Error Responses
| Error Type | Http Code | GK8 error code | Reason / Description | Example Response |
|---|---|---|---|---|
| Backend Response | 400 | 1 | Request exceeds allowed coin limit | "StatusCode": 1 |
| Backend Response | 400 | 2 | Invalid EVM coin name | "StatusCode": 2 |
| Backend Response | 400 | 3 | EVM coin name already assigned | "StatusCode": 3 |
| Backend Response | 400 | 4 | Invalid EVM coin symbol | "StatusCode": 4 |
| Backend Response | 400 | 5 | EVM coin symbol already assigned | "StatusCode": 5 |
| Backend Response | 400 | 6 | Invalid chain ID | "StatusCode": 6 |
| Backend Response | 400 | 7 | Chain ID already assigned | "StatusCode": 7 |
| Backend Response | 400 | 8 | Invalid EIP type | "StatusCode": 8 |
| Backend Response | 400 | 9 | Invalid node URL | "StatusCode": 9 |
| Backend Response | 400 | 10 | Invalid EVM coin value in Fiat | "StatusCode": 10 |
| Backend Response | 400 | 11 | Incorrect gas limit set for this EVM | "StatusCode": 11 |
| Backend Response | 400 | 12 | Invalid EVM coin max fee limit | "StatusCode": 12 |
| Backend Response | 400 | 13 | Invalid EVM coin internal transaction fee | "StatusCode": 13 |
| Backend Response | 400 | 14 | Incorrect activation code | "StatusCode": 14 |
| Backend Response | 400 | 15 | No activation code provided for a non preset EVM | "StatusCode": 15 |
| Backend Response | 400 | 16 | Invalid EVM deviation type | "StatusCode": 16 |
| Backend Response | 400 | 17 | L1 symbol must be provided | "StatusCode": 17 |
| Backend Response | 400 | 18 | L1 symbol does not exist | "StatusCode": 18 |
| Backend Response | 400 | 19 | EVM is deactivated in the cold machine | "StatusCode": 19 |
acceptstringGenerated from available response content types
200success
curl --request POST \
--url /getPresetCoins \
--header 'accept: application/json'