Onchain Actions

private/get_withdraw_addresses

Changed on

Lists the account's withdraw addresses from private/register_withdraw_address: its EVM ones (their recipient is the wallet) and every withdraw address on its whitelisted_recipients. Each entry gives the destination chain id, the address kind (evm or solana), the recipient as registered and whether it is whitelisted, which session keys need before they can withdraw to it. A Solana address that was registered but never whitelisted is not listed.

post/private/get_withdraw_addresses

Request

  • Base URL
    https://api.derive.xyz/v3
  • Auth
    API key in header X-DeriveWallet and API key in header X-DeriveTimestamp and API key in header X-DeriveSignature

Request body

GetWithdrawAddressesParams required
wallet, string required

20-byte Ethereum address as a 0x-prefixed lowercase hex string.

Response

Success

GetWithdrawAddressesResult required
withdraw_addresses, WithdrawAddressEntry[] required

The account's EVM withdraw addresses (their recipient is the wallet) and every withdraw address on its whitelisted_recipients, oldest first.

Changes

    • info

      the endpoint scheme security DeriveWallet AND DeriveTimestamp AND DeriveSignature was added to the API

    • info

      added the media type application/json for the response with the status