Skip to main content

All Questions

Filter by
Sorted by
Tagged with
2 votes
1 answer
644 views

Decoding an instruction for a token on the spl token program

Hello you may have seen my last post, Error : TypeError: Cannot read properties of undefined (reading 'equals') This is a follow up to that post. I decided to experiment more with ...
Golden's user avatar
  • 61
0 votes
1 answer
158 views

what the numbers in the array indicate?

I work with decoding data. I use the @solana/spl-token package for that. sometimes I get the TokenInvalidInstructionKeysError error I have this code ts. as keys I provide an array of keys that I have ...
slntrx's user avatar
  • 131
2 votes
4 answers
6k views

how to decode data instructions with javascript

upd: https://docs.solana.com/developing/programming-model/transactions#instruction-data here, my task is to decode this data using js I tried to solve the issue with this post How to get Solana ...
slntrx's user avatar
  • 131