Skip to main content

  1. Approve grants a delegate permission to transfer up to a specified amount of tokens from your account.
    • Each token account can have only one delegate at a time.
    • Any new approval overwrites the previous one.
  2. Revoke removes all delegate permissions from a Light Token account.
  3. Only the token account owner can approve or revoke delegates.
Install or view dedicated agent skills.
Install orchestrator agent skill or view skill.md:
approveInterface grants a delegate permission to transfer up to a specified amount of tokens.
1

Prerequisites

Install packages in your working directory:
Install the CLI globally:
In the code examples, use createRpc() without arguments for localnet.
2

Approve or revoke delegates

Delegated transfer

Payments overview


Didn’t find what you were looking for?

Reach out! Telegram | email | Discord