Wallet address

get https://api.cryptomus.com/v2/user-api/wallet-address/list Copy

Request

Query parameters

NameParameter typeDefinition
currency*stringCurrency code
network*stringBlockchain network code

Parameter type

string

Definition

Currency code

Parameter type

string

Definition

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"}'
Copy

Response

Response parameters

NameParameter typeDefinition
addressstringAddress
networkstringBlockchain network code
currencystringCurrency code

Parameter type

string

Definition

Address

Parameter type

string

Definition

Blockchain network code

Parameter type

string

Definition

Currency code

Response example


1{
2  "state": 0,
3  "result": [
4    {
5      "address": "TWPVX81pLpiucbFTq9frseURsFkA1hRnZU",
6      "network": "tron",
7      "currency": "USDT"
8    }
9  ]
10}
11      
Copy

An 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