Wallet
Private

Retrieve the current deposit address for the specified currency. Returns the most recently created or used deposit address for receiving funds.

Coinbase wallet type

For Coinbase wallet type accounts the network parameter is required and selects the blockchain network of the deposit address. The networks available for each currency are returned by public/get_currencies in the coinbase_networks field. Returns null when no deposit address exists for the given currency and network. This method is available to institutional Coinbase accounts only.

📖 Related Article: Managing Deposits

Scope: wallet:read

Try in API console

get/private/get_current_deposit_address

Request

  • Base URL
    https://test.deribit.com/api/v2
  • URL
    https://test.deribit.com/api/v2/private/get_current_deposit_address
  • Auth
    none declared

Query parameters

currency'BTC' | 'ETH' | 'USDC' | 'USDT' | 'EURR' required

Currency, i.e "BTC", "ETH", "USDC"

The currency symbol.

📖 Related Article: Using the currency Parameter

networkstring
Example:networks/ethereum-mainnet

Blockchain network resource name (e.g. networks/ethereum-mainnet), for Coinbase wallet types. Available networks are returned by public/get_currencies in coinbase_networks. Requiredness depends on the operation. When resolving an existing address-book entry, it is optional if the entry resolves uniquely; it disambiguates an address present on multiple networks.

Response

Success response

jsonrpc'2.0' required

The JSON-RPC version (2.0)

idinteger

The id that was sent in the request

Example response

{
  "result": {
    "creation_timestamp": 1536569522277,
    "address": "1A1zP1eP5QGefi2DMPTfTL5SLmv7DivfNa"
  }
}

Changes

    • breaking

      the response property ///// became nullable for the status

    • breaking

      the ///// response's property type changed from boolean to integer for status

    • breaking

      added subschema #1 to the response property oneOf list for the response status

    • breaking

      the response's property type changed from object to no type for status

    • breaking

      removed the required property / from the response with the status

    • breaking

      removed the required property / from the response with the status

    • breaking

      removed the required property / from the response with the status

    • breaking

      removed the required property / from the response with the status

    • info

      added the new optional query request parameter network