Skip to main content
POST
/
v1
/
stake
/
context
Get staking context
curl --request POST \
  --url https://api.cdp.coinbase.com/platform/v1/stake/context \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "network_id": "ethereum-mainnet",
  "asset_id": "ETH",
  "address_id": "0xfc807D1bE4997e5C7B33E4d8D57e60c5b0f02B1a",
  "options": {}
}'
{
  "context": {
    "stakeable_balance": {
      "amount": "12345678",
      "asset": {
        "network_id": "base-sepolia",
        "asset_id": "USDC",
        "decimals": 18,
        "contract_address": "0x036CbD53842c5426634e7929541eC2318f3dCF7e"
      }
    },
    "unstakeable_balance": {
      "amount": "12345678",
      "asset": {
        "network_id": "base-sepolia",
        "asset_id": "USDC",
        "decimals": 18,
        "contract_address": "0x036CbD53842c5426634e7929541eC2318f3dCF7e"
      }
    },
    "claimable_balance": {
      "amount": "12345678",
      "asset": {
        "network_id": "base-sepolia",
        "asset_id": "USDC",
        "decimals": 18,
        "contract_address": "0x036CbD53842c5426634e7929541eC2318f3dCF7e"
      }
    }
  }
}

Authorizations

Authorization
string
header
required

Body

application/json
network_id
string
required
Example:
asset_id
string
required
Example:
address_id
string
required
Example:
options
object
required

Response

context
object
required