v1

latestOpenAPI 3.1.02026-07-24223580832.9 KB
Ethereum

Get Ethereum Withdrawable Amount

Returns the total staked amount that can be withdrawn across a customer's 0x02 validators on the network with the given withdrawal address. Withdrawable amount per validator is calculated as 'withdrawable_amount = balance - minimum_deposit - pending_withdrawals'. Withdrawable amount does not include the balances of validators that can be exited and fully withdrawn.

get/v1/ethereum/{network}/withdrawable-amount/{withdrawal_address}

Response

Ok

protocol'ethereum' required

Ethereum protocol

network'mainnet' | 'hoodi' required

Ethereum network

currencystring required
amountstring required

Amount of ETH (denominated in Gwei).

Example response

{
  "amount": "32000000000",
  "pending_withdrawals": [
    {
      "public_key": "0x00000000219ab540356cBB839Cbe05303d7705Fa",
      "amount": "32000000000",
      "withdrawal_credentials": "0x0092c20062cee70389f1cb4fa566a2be5e2319ff43965db26dbaa3ce90b9df99"
    }
  ],
  "withdrawable_validators": [
    {
      "public_key": "0x00000000219ab540356cBB839Cbe05303d7705Fa",
      "amount": "32000000000",
      "withdrawal_credentials": "0x0092c20062cee70389f1cb4fa566a2be5e2319ff43965db26dbaa3ce90b9df99"
    }
  ]
}