Get Coin Info
Query coin information, including chain information, withdraw and deposit status.
HTTP Request
GET /v5/asset/coin/query-info
Request Parameters
Parameter | Required | Type | Comments |
---|---|---|---|
coin | false | string | Coin, uppercase only |
Response Parameters
Parameter | Type | Comments |
---|---|---|
rows | array | Object |
> name | integer | Coin name |
> coin | string | Coin |
> remainAmount | string | Maximum withdraw amount per transaction |
> chains | array | Object |
>> chain | string | Chain |
>> chainType | string | Chain type |
>> confirmation | string | The number of confirmation for deposit |
>> withdrawFee | string | withdraw fee. If withdraw fee is empty, It means that this coin does not support withdrawal |
>> depositMin | string | Min. deposit |
>> withdrawMin | string | Min. withdraw |
>> minAccuracy | string | The precision of withdraw or deposit |
>> chainDeposit | string | The chain status of deposit. 0 : suspend. 1 : normal |
>> chainWithdraw | string | The chain status of withdraw. 0 : suspend. 1 : normal |
>> withdrawPercentageFee | string | The withdraw fee percentage. It is a real figure, e.g., 0.022 means 2.2% |
Request Example
- HTTP
- Python
- Node.js
GET /v5/asset/coin/query-info?coin=ETH HTTP/1.1
Host: api-testnet.bybit.com
X-BAPI-SIGN: XXXXX
X-BAPI-API-KEY: XXXXX
X-BAPI-TIMESTAMP: 1672194580887
X-BAPI-RECV-WINDOW: 5000
from pybit.unified_trading import HTTP
session = HTTP(
testnet=True,
api_key="XXXXX",
api_secret="XXXXX",
)
print(session.get_coin_info(
coin="ETH",
))
const { RestClientV5 } = require('bybit-api');
const client = new RestClientV5({
testnet: true,
key: 'apikey',
secret: 'apisecret',
});
client
.getCoinInfo('ETH')
.then((response) => {
console.log(response);
})
.catch((error) => {
console.error(error);
});
Response Example
{
"retCode": 0,
"retMsg": "",
"result": {
"rows": [
{
"name": "ETH",
"coin": "ETH",
"remainAmount": "1020000",
"chains": [
{
"chainType": "ETH",
"confirmation": "10000",
"withdrawFee": "0.005",
"depositMin": "0.01",
"withdrawMin": "0.02",
"chain": "ETH",
"chainDeposit": "1",
"chainWithdraw": "1",
"minAccuracy": "8",
"withdrawPercentageFee": "0.022"
},
{
"chainType": "Arbitrum One",
"confirmation": "10",
"withdrawFee": "0.01",
"depositMin": "0.001",
"withdrawMin": "0.1",
"chain": "ARBI",
"chainDeposit": "1",
"chainWithdraw": "1",
"minAccuracy": "8",
"withdrawPercentageFee": "0"
}
]
}
]
},
"retExtInfo": {},
"time": 1677478088215
}