šŸ› ļøWrapEth

Description

Action ID: 0x11135183

Wraps native Eth to WETH9 token

SDK Action

const wrapEthAction = new dfs.actions.basic.WrapEthAction(
    amount,
);

Contract

This is a DFS STANDARD_ACTION.

Input:

    /// @param amount Amount of ETH to wrap
    struct Params {
        uint256 amount;
    }

Return value:

return bytes32(_wrapEth(inputData.amount));

Events:

Last updated