Timeline for How to deserialize raw account data from tx in rust?
Current License: CC BY-SA 4.0
3 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Sep 26, 2023 at 18:07 | comment | added | Whiteseal |
If you're using anchor_client, you can do something like: let program = client.program(Pubkey::try_from("yourkeyblahblahblahblahblah").unwrap()).unwrap(); let some_accounts: Vec<(Pubkey, YourStruct)> = program.accounts(vec![]).await.unwrap();
|
|
Apr 28, 2023 at 15:07 | comment | added | Dev Bharel | I need to deserialize the accountinfo, something the runtime does already with context but no examples on how to do with client side rust code. | |
Apr 27, 2023 at 19:29 | history | answered | Whiteseal | CC BY-SA 4.0 |