swaps:unwrap
Unwrap the canonical wrapped-native token back into the native token (WETH to ETH, WXDAI to xDAI...).
⚗️ Experimental — available at next.evmcrispr.com.
Supports runtime fields inside smart blocks. Use explicit @helper! expressions or captured outputs; other fields are evaluated at build time.
Syntax
Section titled “Syntax”swaps:unwrap <amount>Arguments
Section titled “Arguments”| Name | Type | Evaluation | Description |
|---|---|---|---|
amount | number | Runtime in smart blocks | Wrapped amount to unwrap, in base units (wei) |
Examples
Section titled “Examples”# TODO: add examples