Get Oasis Deposit Address(s)¶
Get deposit addresses under Oasis accounts.
Endpoint¶
Parameters¶
Path Parameters¶
| Field | Type | Description |
|---|---|---|
accountId |
String | Account ID |
Response¶
Response Body¶
| Field | Type | Description |
|---|---|---|
| code | Integer | Response code (0 = success) |
| message | String | Response message |
| successful | Boolean | Whether the request was successful |
| data | Object[] | Deposit address array. |
data (object)
| Field | Type | Description |
|---|---|---|
| accountId | String | Account ID |
| currency | String | Currency type, e.g : USDT |
| amount | String | Currency total amount, in standard units |
| paying | String | Amount being paid |
| pending | String | Pending amount (generally not available for Buff accounts) |
| frozen | String | Frozen amount (generally not available for Buff accounts) |
| validAmount | String | The amount you can currently withdraw or transfer from your account. Calculated As: Total Balance minus any paying, pending, or frozen funds. |
Response Example¶
{
"code": 0,
"message": "string",
"data": [
{
"currency": "BTC",
"amount": "100.12345678",
"paying": "10",
"pending": "0",
"frozen": "0",
"validAmount": "100.12345678",
"accountId": "100001"
},
{
"currency": "USDT",
"amount": "100.123456",
"paying": "10",
"pending": "0",
"frozen": "0",
"validAmount": "100.123456",
"accountId": "100002"
}
],
"successful": true
}