POST
/
v1
/
stake
/
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

Enter your JSON Web Token (JWT) here. Refer to the Generate JWT section of our Authentication docs for information on how to generate your Bearer Token.

Body

application/json

Response

200
application/json

staking context for an address fetched successfully

Context needed to perform a staking operation