GasFeeTakerL2

Description

Helper action to take gas fee from the user's wallet on L2 and send it to the fee recipient.

Notes

If divider is lower the fee is greater, should be max 5 bps.

Action ID

0x7ec82077

SDK Action

const gasFeeTakerL2Action = new dfs.actions.basic.GasFeeActionL2(
    gasStart,
    feeToken,
    availableAmount,
    dfsFeeDivider,
    l1GasCostInEth
);

Action Type

FEE_ACTION

Input Parameters

Return Value

Events and Logs

Last updated

Was this helpful?