All Questions
Tagged with account-data decode
3
questions
3
votes
1
answer
410
views
Getting transaction info on account changes using JS
Using JS, how would I go about getting transaction information on transactions that affect the balance of a specific account?
I've been able to listen for account changes with the following code, but ...
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 ...