gelato:withdraw
Withdraw settled USDC from the Gelato Gas Tank (step 2 of 2, on Polygon). Presents the merkle proof Gelato published after settling your gelato:request-withdrawal; fetched from the 1Balance API, or given with --proof and --total.
⚗️ Experimental — available at next.evmcrispr.com.
Syntax
Section titled “Syntax”gelato:withdraw <amount> <token>Arguments
Section titled “Arguments”| Name | Type | Description |
|---|---|---|
amount | number | USDC amount (6 decimals) |
token | token-symbol | USDC |
- Withdrawals are two-step:
gelato:request-withdrawalon-chain, then Gelato settles the request off-chain and publishes a merkle proof;gelato:withdrawpresents it. The proof and the settled total are fetched from Gelato's 1Balance API for the connected account (contract sponsors such as Safes are looked up as137:<address>); pass--proofand--totalto reuse values copied from the Gelato app instead. - Not simulable without a proof: in a fork, pass
--proof/--total.
Examples
Section titled “Examples”# TODO: add examples