SendTokensAndUnwrap

Description

Helper action to send tokens to the specified addresses and unwrap for weth address

Notes

Sends tokens to the specified addresses, works with Eth also If token is weth address, it will unwrap by default If amount is type(uint).max it will send whole users' wallet balance

Action ID

0x13bc5bc1

SDK Action

const sendTokensAndUnwrapAction = new dfs.actions.basic.SendTokensAndUnwrapAction(
    tokens,
    receivers,
    amounts
);

Action Type

STANDARD_ACTION

Input Parameters

Return Value

Events and Logs

Last updated

Was this helpful?