POST
/
getDepositAddresses
curl --request POST \
  --url https://gateway.finhub.cloud/crypto/getDepositAddresses \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --header 'tenantId: <tenantid>' \
  --data '{
  "nonce": "-93483433",
  "asset": "ut ut",
  "method": "voluptate incididunt quis reprehenderit",
  "new": true
}'
{
  "error": [],
  "result": [
    {
      "address": "2N9fRkx5JTWXWHmXzZtvhQsufvoYRMq9ExV",
      "expiretm": "0",
      "new": true
    },
    {
      "address": "2NCpXUCEYr8ur9WXM1tAjZSem2w3aQeTcAo",
      "expiretm": "0",
      "new": true
    },
    {
      "address": "2Myd4eaAW96ojk38A2uDK4FbioCayvkEgVq",
      "expiretm": "0"
    }
  ]
}

Authorizations

Authorization
string
headerrequired

The access token received from the authorization server in the OAuth 2.0 flow.

Headers

tenantId
string
required

Tenant/Owner id

Content-Type
string

Body

application/json
nonce
string

(Required)

asset
string

(Required) Asset being deposited

method
string

(Required) Name of the deposit method

new
boolean

Whether or not to generate a new address

Response

200 - application/json

The response is of type object.