All Questions
Tagged with account-data buffer
2
questions
2
votes
1
answer
1k
views
how to decode data of specific account
how can i deocode the buffer data of account.
let pb = new PublicKey("GnAwACYKCx5LEv8QJUKvGigcix8AjnsrjLEn2Cu6UJrH")
let a= await connection.getAccountInfo(pb)
Output
3
votes
1
answer
1k
views
Decoding data buffer of an account - @solana/buffer-layout - Rust u64 to Typescript Number conversion
I figured out how to decode the data buffer manually for a solana account data. I used the USDC account address to get the account data and then I used the @solana/buffer-layout for u64 buffer ...