Skip to main content

All Questions

Filter by
Sorted by
Tagged with
3 votes
1 answer
12 views

The case for accepting ANY valid ATA in your instruction, no matter what its authority is

Sometimes, your program doesn't care about the authority of the input ATA, as long as the ATA has the correct/valid Mint. One such case is when you simply want to transfer some tokens to a recipient's ...
2 votes
1 answer
61 views

Spl Tokens deployed with Token 2022 program giving error during ATA creation with Solana/Web3.js

When i try to use methods like createAssociatedTokenAccount, getAssociatedTokenAddress i get error as "incorrect program id for instruction". The token address used her was my spl tokens ...
1 vote
1 answer
270 views

The data structure of an associated token account's data field

I used 'solana account --output json 'address'' to obtain the data field of a Token account, which is encoded in base64. I would like to know how it is structured.