ApproveToken

Description

Helper action to approve spender to pull an amount of tokens from user's wallet

Notes

Approves an amount of tokens for spender to pull from user's wallet

Action ID

0xbb8027f4

SDK Action

const approveTokenAction = new dfs.actions.basic.ApproveTokenAction(
    token,
    spender,
    amount
);

Action Type

STANDARD_ACTION

Input Parameters

Return Value

Events and Logs

Last updated

Was this helpful?