Account B delegated authority to Account A for n tokens. Now Account A wants to transfer tokens to Account C using delegated amount. CLI command is needed.

I tried running the below command. the default account is Account A.

spl-token transfer <mint address> <amount> <AccountC Address> --from <AccountB TokenAddress>

1 Answer 1


You're very close! For a delegate, you want to pass them as the --owner of the account, so try:

spl-token transfer <mint address> <amount> <AccountC Address> --from <AccountB TokenAddress> --owner <AccountA Address>

Using https://github.com/solana-labs/solana-program-library/blob/7f8e5bb99015842a22e9cfbfca35d9072405fa03/token/cli/src/main.rs#L5821 as a reference test that checks this behavior

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.