Skip to main content
POST
Request to unstake currency across a portfolio

Path Parameters

portfolio_id
string
required

The portfolio ID

Body

application/json
idempotency_key
string
required

The client generated idempotency key (uuid required) for requested execution. Subsequent requests using the same key will not create new transactions.

currency_symbol
string
required

The currency symbol to unstake

amount
string

The quantity of the chosen currency to unstake

metadata
object
validator_provider
enum<string>
default:VALIDATOR_PROVIDER_UNSPECIFIED

ValidatorProvider enumerates the ETH validator service providers accepted for unstaking.

Available options:
VALIDATOR_PROVIDER_UNSPECIFIED,
VALIDATOR_PROVIDER_COINBASE_CLOUD,
VALIDATOR_PROVIDER_MAVAN,
VALIDATOR_PROVIDER_FIGMENT,
VALIDATOR_PROVIDER_CODEFI,
VALIDATOR_PROVIDER_ATTESTANT,
VALIDATOR_PROVIDER_GALAXY

Response

200 - application/json

A successful response.

activity_id
string

The ID for the created activity

transaction_id
string

The ID for the created transaction