Creates list of contract calls to unwrap a position from an earn vault, converting vault shares back to the underlying asset.
chain parameter uses CAIP-2 format: eip155:<chainId>. For example, eip155:8453 for Base. See Supported Chains for the full list.Owner address that holds the vault shares
Address that will receive the unwrapped underlying tokens
Amount of shares to unwrap
Vault shares token address
Slippage tolerance in percent (e.g. 0.5 = 0.5%)
Chain ID in CAIP format
OK
Estimated amount of tokens to receive
"1000000"
List of contract calls to execute the unwrap
Minimum amount of tokens to receive (after slippage)
"997000"
Token address that will be received after unwrapping
"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"