Wallet address
get https://api.cryptomus.com/v2/user-api/wallet-address/list Copy
Request
Query parameters
| Name | Parameter type | Definition |
|---|---|---|
| currency* | string | Currency code |
| network* | string | Blockchain network code |
Parameter type
stringDefinition
Currency codeParameter type
stringDefinition
Blockchain network code
* - mandatory parameter
Request example
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"}'
CopyResponse
Response parameters
| Name | Parameter type | Definition |
|---|---|---|
| address | string | Address |
| network | string | Blockchain network code |
| currency | string | Currency code |
Parameter type
stringDefinition
AddressParameter type
stringDefinition
Blockchain network codeParameter type
stringDefinition
Currency code
Response example
1{
2 "state": 0,
3 "result": [
4 {
5 "address": "TWPVX81pLpiucbFTq9frseURsFkA1hRnZU",
6 "network": "tron",
7 "currency": "USDT"
8 }
9 ]
10}
11 CopyAn example of an answer in the event of an error
{
"state": 1,
"errors": {
"currency": [
"The currency field is required."
],
"network": [
"The network field is required."
]
}
}Copy