Get Allowed Deposit Coin Info
Query allowed deposit coin information. To find out paired chain of coin, please refer coin info api.
tip
This is an endpoint that does not need authentication
HTTP Request
GET /v5/asset/deposit/query-allowed-list
Request Parameters
Parameter | Required | Type | Comments |
---|---|---|---|
coin | false | string | Coin, uppercase only. coin and chain must be paired if passed |
chain | false | string | Chain. coin and chain must be paired if passed |
limit | false | integer | Limit for data size per page. [1 , 35 ]. Default: 10 |
cursor | false | string | Cursor. Use the nextPageCursor token from the response to retrieve the next page of the result set |
Response Parameters
Parameter | Type | Comments |
---|---|---|
configList | array | Object |
> coin | string | Coin |
> chain | string | Chain |
> coinShowName | string | Coin name |
> chainType | string | Chain type |
> blockConfirmNumber | integer | Deposit confirmation number |
> minDepositAmount | string | Minimum deposit amount |
nextPageCursor | string | Refer to the cursor request parameter |
Request Example
- HTTP
- Python
- Node.js
GET /v5/asset/deposit/query-allowed-list?coin=ETH&chain=ETH HTTP/1.1
Host: api-testnet.bybit.com
X-BAPI-SIGN: XXXXX
X-BAPI-API-KEY: XXXXX
X-BAPI-TIMESTAMP: 1672191495968
X-BAPI-RECV-WINDOW: 5000
from pybit.unified_trading import HTTP
session = HTTP(
testnet=True,
api_key="XXXXX",
api_secret="XXXXX",
)
print(session.get_allowed_deposit_coin_info(
coin="ETH",
chain="ETH",
))
const { RestClientV5 } = require('bybit-api');
const client = new RestClientV5({
testnet: true,
key: 'apikey',
secret: 'apisecret',
});
client
.getAllowedDepositCoinInfo({
coin:"ETH",
chain:"ETH",
})
.then((response) => {
console.log(response);
})
.catch((error) => {
console.error(error);
});
Response Example
{
"retCode": 0,
"retMsg": "success",
"result": {
"configList": [
{
"coin": "ETH",
"chain": "ETH",
"coinShowName": "ETH",
"chainType": "ETH",
"blockConfirmNumber": 10000,
"minDepositAmount": "0.01"
}
],
"nextPageCursor": "eyJwYWdlIjoyLCJsaW1pdCI6MTB9"
},
"retExtInfo": {},
"time": 1672191496219
}