Questions tagged [transfer-checked]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
3 votes
1 answer

Modify sent amount on Transfer hook

I have been recently started to play around the transfer hook and explored the Anchor tutorial on the website. My question is if the transfer hook reflects the end state of the transfer is there any ...
munifao's user avatar
  • 43
2 votes
1 answer

Custom program error: 0x7dc8348c

I using instructions from here, and getting error: Transaction simulation failed: Error processing Instruction 0: custom program error: 0x7dc8348c while ...
Andriy's user avatar
  • 21
2 votes
2 answers

How do I send a token with the transfer-hook extension using the spl-token command line interface?

I am trying to test the transfer-hook extension by creating and minting a token using the example transfer-hook program. I have successfully deployed the program, created the token with the transfer-...
tonton's user avatar
  • 55
1 vote
1 answer

Token-2022: Can an Instruction to Execute a Transfer Hook be added to a Program with other Instructions?

I'm looking into using the transfer hook from token-2022 to run some logic whenever my custom spl-token is transferred. I came this Github link and while it helps, I have a lot of questions. Like for ...
Brian M.'s user avatar
  • 111
2 votes
1 answer

I can't transfer all of my Lamports to another account

If there are 891000 lamports in my account, I can't transfer all of these to another rich account. It says "Transaction simulation failed: Transaction results in an account (0) without ...
pengten's user avatar
  • 21
17 votes
2 answers

What is the difference between Transfer and TransferChecked instruction from the SPL Token Program?

I'm curious what the practical difference is between the Transfer and TransferChecked instructions, and when should we use one over the other. In this question, I'm using Transfer/TransferChecked as ...
beeman's user avatar
  • 885