Get Chain Info
Request
GET https://custody-example-url/custody/v1/api/chain-infos
Parameters
Field | Type | Description |
---|---|---|
chain Optional |
String | Cactus chain name Allowed Value: Refer to Network column in Supported Token |
full_name Optional |
String | Common chain name Allowed Value: Refer to Cactus Network Name (For API) column in Supported Token |
Response
Field | Type | Description |
---|---|---|
code | Integer | Response code |
message | String | Response message |
successful | Boolean | If the request is successful |
data | Object | Wallet object list |
-chain | String | Cactus chain name |
-full_name | String | Common chain name |
-main_coin | String | Chain main coin |
-evm_chain | String | If it is EVM compatible |
-support_eip1559 | String | If it is EIP 1559 |
- confirm_block_number | String | Deposit security height |
- miner_block_number | String | Mining security height |
Response Example
{
"code": 0,
"message": "",
"data": [
{
"chain": "ETH",
"full_name": "Ethereum",
"main_coin": "ETH",
"evm_chain": true,
"support_eip1559": true,
"confirm_block_number": 64,
"miner_block_number": 64
},
{
"chain": "ETC",
"full_name": "Ethereum Classic",
"main_coin": "ETC",
"evm_chain": true,
"support_eip1559": false,
"confirm_block_number": 100,
"miner_block_number": 100
}
],
"successful": true
}