Cüzdan adresi
get https://api.cryptomus.com/v2/user-api/wallet-address/list Kopyala
Rica etmek
Sorgu parametreleri
| İsim | Parametre türü | Tanım |
|---|---|---|
| currency* | string | Para birimi kodu |
| network* | string | Blockchain Ağ Kodu |
Parametre türü
stringTanım
Para birimi koduParametre türü
stringTanım
Blockchain Ağ Kodu
* - zorunlu parametre
Talep Örneği
curl https://api.cryptomus.com/v2/user-api/wallet-address/list \
-X GET \
-H 'userId: 8b03432e-385b-4670-8d06-064591096795' \
-H 'sign: fe99035f86fa436181717b302b95bacff1' \
-H 'Content-Type: application/json' \
-d '{"currency":"USDT","network":"tron"}'
KopyalaCevap
Yanıt parametreleri
| İsim | Parametre türü | Tanım |
|---|---|---|
| address | string | Adres |
| network | string | Blockchain Ağ Kodu |
| currency | string | Para birimi kodu |
Parametre türü
stringTanım
AdresParametre türü
stringTanım
Blockchain Ağ KoduParametre türü
stringTanım
Para birimi kodu
Yanıt örneği
1{
2 "state": 0,
3 "result": [
4 {
5 "address": "TWPVX81pLpiucbFTq9frseURsFkA1hRnZU",
6 "network": "tron",
7 "currency": "USDT"
8 }
9 ]
10}
11 KopyalaHata durumunda verilecek yanıta bir örnek
{
"state": 1,
"errors": {
"currency": [
"The currency field is required."
],
"network": [
"The network field is required."
]
}
}Kopyala