Skip to content

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.

swaps:unwrap <amount>
NameTypeEvaluationDescription
amountnumberRuntime in smart blocksWrapped amount to unwrap, in base units (wei)
# TODO: add examples