swaps:unwrap
Unwrap the canonical wrapped-native token back into the native token (WETH to ETH, WXDAI to xDAI...).
Syntax
Section titled “Syntax”swaps:unwrap <amount>Arguments
Section titled “Arguments”| Name | Type | Description |
|---|---|---|
amount | number | Wrapped amount to unwrap, in base units (wei) |
Examples
Section titled “Examples”# TODO: add examples