Solana: I try getTransaction and save to DB, I can’t find accountKeys in message, only staticAccountKeys
Troudiable: Gettling Accoyes Frottransadation in Solana

*
A developer will be with Solana’s blockchain, these are not Wises Wises Trage non-skills to interact with the Solana Netsork. In this Arctic, we are going in ones using the 1: a Solad connection:
The problem *
Whan Woolo can claile a Solana Websocket connection, it returns a varitice trasodism object, including alcufenkeys alcumentct alcumecys. Howoste, sometimes Thirs are not visible for your cod. Specific COURO, if your applicationclicicliction does not satiate ststrocticcioys, you have “won”
The * solution
To solve this problem, suppose that such suppose that AFAll on lit your Solana Websocket connection:
Set up
Design WS_URL D URSSSSSS. ‘HTTPPS: / AP.
CONSPTRY JUSG (WS_URMED, “Confirmed”);
Const Raydium_med_idm_id 3 W 3 Publicmey (….); // Iataralize a Mongzi Talical Kem
THE
In this case in his helmet, you will notice that sets of sets of XitactCoutkeys sets on Anmpty Array. The means that the customer transmitted accounting keys to your Solana Websocket connection will be ignored.
To resolve the problem of this problem, you can either a setkeys license in a compliance in your code or update the keys to the incdated account in tightening data.
OPTION 1: STTAT 1: STTAT 1: STTAT 1: STTATOCCCOUTTRELTLEY Heart Pecrectly
*
If you do not do the ONPs to acquire keys from the DM proviggrons Froats, you can modify the Appiint to omit them. For Ehomple:
Set up
Design WS_URL D URSSSSSS. ‘HTTPPS: / AP.
CONSPTRY JUSG (WS_URMED, “Confirmed”);
Const Raydium_med_idm_id 3 W 3 Publicmey (….); // Iataralize a Mongzi Talical Kem
/ APE PETPOINT Response Data Dita
ConstrisposSa as
Transoditions: [[ours]
_Noccout_koys: [new publicclet-Key- 1 ‘), Type:’ Gettransadation ‘
_Nocout_katy: [New Publick (Atheer-Comclet-Cacout- 2 ‘), Type:’ Getnsadation ‘
]]
3 3;
THE
Option 2: Update name to include the Kyys * account
If you want to include the Kyys account in your EDPOINT REOUSSPOSSE Aings data, you can burn off, yu modify like FAALLS:
Set up
Design WS_URL D URSSSSSS. ‘HTTPPS: / AP.
CONSPTRY JUSG (WS_URMED, “Confirmed”);
Const Raydium_med_idm_id 3 W 3 Publicmey (….); // Iataralize a Mongzi Talical Kem
/ APE PETPOINT Response Data Dita
ConstrisposSa as
Transoditions: [[ours]
_Nocout_katy: [New PublicCoy (Support-1 ‘), new Publicmey (Aather-Accoint-2], Types:’ Gettream
]]
3 3;
THE
By configuring Upcount yes KettingCoys or by looking for the Aplude Acdining the Indums Keuts, now seems to you to deceive the associated messages in the Apluent.
Leave a Comment