Nest Withdraw logo

Catalog action EVM Onchain wallet Gas send

Submit a withdrawal request on the Nest AtomicQueue for a specific vault token. Approves the nToken for the AtomicQueue and calls updateAtomicRequest. The withdrawal is fulfilled asynchronously by a solver. Ideal for: vault rebalancing, position unwinding, automated withdrawal workflows.

This action can require a wallet connector, gas, token movement, or an external side effect. Test with simulation or a controlled amount before using it in a live workflow.

At a Glance

FieldValue
Action IDnest-withdraw
CategoryEVM Onchain
Connectorwallet
Requires gasYes
Funds movementsend
Tagsdefi, plume, nest, withdraw, vault, onchain, write, rebalancing, atomic-queue

Payload Schema

FieldTypeRequiredDescription
vaultstringYesVault symbol (e.g., 'nTBILL'). Used for logging and context.
tokenAddressstringYesnToken contract address to withdraw (offer token).
amountRawstringYesAmount of nToken to withdraw in raw units (wei).
deadlineDaysnumberNoNumber of days from now to set as the AtomicRequest deadline (default: 10).
slippageBpsnumberNoSlippage tolerance in basis points for the atomic price (default: 100 = 1%).

Result Schema

FieldTypeRequiredDescription
statusstringYesWhether the withdrawal request was successfully submitted.
vaultstringYesVault symbol.
tokenAddressstringNonToken address.
amountRawstringNoAmount submitted for withdrawal.
deadlinenumberNoAtomicRequest deadline as Unix timestamp.
atomicPricestringNoAtomic price set on the request.
transactionsobjectNoTransaction hashes for each step.
reasonstringNoReason if status is 'error'.

Examples

json
{ "type": "nest-withdraw", "payload": { "vault": "example-vault", "tokenAddress": "0x0000000000000000000000000000000000000000", "amountRaw": "1000000" }, "children": [], "connector": { "type": "wallet", "id": "conn_wallet" }}

Payload fields can use workflow expressions such as {{$trigger.body.amount}}, {{$nodes.fetch.result.price}}, and {{$props.asset}} when the value should come from a trigger, prior node, or reusable workflow prop.

Ask a question... ⌘I