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

Recording to rolling: Getting keys account when it’s solana

*

As a Solana Blockchain development program, it is not uncommon to solve problems with counting with a solid network. Initially, we will dive into the persecution of the arrival of Canta arrival at ‘Gettransation’ Methon and Solacket on the solake on the Solaxket Conninection: Finding an INS in the message.

Problem

What you call is Sonala WebSocket Sonescoces, it is a transaction object with different perceptions, includes graphics. However, sometimes it is not visible to your code. In particular, your DOSN app is a set of serialacountkyys certificates, you want to make account keys in the same.

* Light

To solve this problem, assume that Thor is about the next line of core of the Solaka Solaket Sotal WebSocket Connection:

`ossscript

Const Ws_url = Process.env.solana_ws_url || ‘

Concretion of concretion = Nest Connection (WS_URL, ‘Confirm’);

Continue raydium_mpmppppipirampid = ignorant publiciscey (…); // Initially public key for AMM program

`S.

In this case, you will notice StataticcountKeyys placed on Emert Nizay. This means complaints yy counts on your salt pans, websocket associated with identical.

To solve this problem, you can be eether set to the stability of Corre

Option 1: Set is Correect Style *

IFLY advertising for the AMM program experience, you can use the final API -Halfway point. For the exam:

ossscript

Const Ws_url = Process.env.solana_ws_url || ‘

Concretion of concretion = Nest Connection (WS_URL, ‘Confirm’);

Continue raydium_mpmppppipirampid = ignorant publiciscey (…); // Initially Public Key to AMM Program

// API ultimate data

Conpusedata = {

Transactions: [

{Account_eyes: [theew Publickey (‘Ccount-1’)], Type: ‘Gettransation’},

{Account_eyes: [New Publicky (‘Second-November-No-Crowont-2’)], Type: ‘Gettransation’}

]

^

`S.

Option 2: Update the final point of API -to turn on the account keys

Solana: I try getTransaction and save to DB, I can't find accountKeys in message, only staticAccountKeys

If you want to include the account keys, you can eat followers:

ossscript

Const Ws_url = Process.env.solana_ws_url || ‘

Concretion of concretion = Nest Connection (WS_URL, ‘Confirm’);

Continue raydium_mpmppppipirampid = ignorant publiciscey (…); // Initially Public Key to AMM Program

// API ultimate data

Conpusedata = {

Transactions: [

{Account_eyes: [that publicicky (‘Ccount-1’), new publicy (‘Second-Count-2’)], Type: ‘Gettransation’}

]

^

« S.

By installing «Sticalacountkyys» that corresponds to the end point of APIs on the Syaks account included, you can be able to die on the account a month, you are the same international wheel.

ETHEREUM ATTACK

Dejar un comentario

Tu dirección de correo electrónico no será publicada.