Skip to main content
POST
Simulate exiting a yield
Same body as Exit a yield. Returns 200 with an ActionSimulationDto containing gas (aggregate plus per-transaction estimates). Nothing is created or persisted. A 200 does not guarantee the real exit succeeds on-chain. Errors: 400 (including a yield that is unknown or not enabled for your project), 403 (geo-blocked) and 412 when the yield is closed for withdrawals. See Errors and retries.

Authorizations

x-api-key
string
header
required

Body

application/json
yieldId
string
required

Yield ID to perform the action on

Example:

"ethereum-eth-lido-staking"

address
string
required

User wallet address

Example:

"0x1234..."

arguments
object

Arguments for the action

Response

Simulation result for the exit action

gas
object
required

Estimated gas cost of the action, aggregated and per transaction.

entryReserveEstimate
string

Total SOL side-reserve required for enter validation: account rent plus ~0.005 SOL priority-fee buffer. For max native-SOL deposit use balance minus this value; do not also subtract the gas amount. Only returned on enter simulations; omitted for exits and when unavailable.