Coinbase Prime API
cURL
curl --request POST \ --url https://api.prime.coinbase.com/v1/portfolios/{portfolio_id}/wallets/{wallet_id}/staking/unstake \ --header 'Content-Type: application/json' \ --data '{ "idempotency_key": "<string>", "inputs": { "amount": "<string>" } }'
{ "wallet_id": "<string>", "transaction_id": "<string>", "activity_id": "<string>" }
Creates an execution request to unstake delegated or staked funds in a wallet
The portfolio ID
The wallet ID
The client generated idempotency key for requested execution. Subsequent requests using the same key will fail
Show child attributes
A successful response.
ID of the newly created transaction, can be used to fetch details of the current state of execution
The ID for the activity generated for this request
Was this page helpful?