1

I found the length of spl token 2022 ata is not 165, so I can't unpack the account. enter image description here

enter image description here

The data length of EeF6oBy6AQiBJoRx5xiRNxa6cmpQE3ayVagj28QFZuyg is 183. So, how to deserialize it?

1 Answer 1

2

let ata0 = spl_token_2022::extension::StateWithExtensions::<spl_token_2022::state::Account>::unpack( &ata0_data, ) .unwrap();

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.