NEW: Helius acquires Light Protocol

Solana Data APIs

Pyth Lazer Solana Program Data API

Explore decoded instructions, events, and account roles for Pyth Lazer Solana Program.

Program ID
pytd2yyk641x7ak7mkaasSJVXh6YYZnC7wTmtgAyxPt
GET PROGRAM INFO

describeProgram

Call describeProgram to get a parsed list of instructions, accounts, and roles for Pyth Lazer Solana Program and 3,600+ Solana programs.

describeProgram request
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "describeProgram",
  "params": [
    {
      "program": "pytd2yyk641x7ak7mkaasSJVXh6YYZnC7wTmtgAyxPt"
    }
  ]
}

Copyable examples

Stream Pyth Lazer Solana Program data

Subscribe using the Pyth Lazer Solana Program program ID and filter results by instructions, accounts, account roles, failed transactions, or CPIs.

Parsed Streams subscription
const ws = new WebSocket(
  "wss://beta.helius-rpc.com/?api-key=YOUR_API_KEY",
);

ws.addEventListener("open", () => {
  ws.send(JSON.stringify({
    jsonrpc: "2.0",
    id: 1,
    method: "parsedTransactionSubscribe",
    params: [{
      programs: ["pytd2yyk641x7ak7mkaasSJVXh6YYZnC7wTmtgAyxPt"],
      instructionNames: ["initialize"],
      includeFailed: false,
      includeCpi: true,
    }],
  }));
});

Runtime vocabulary

Instructions (3)

Instruction names are the exact runtime names returned by Helius describeProgram. Argument and account schema details appear only when they map unambiguously to the raw IDL.

Showing all 3 instructions

initializeExpand

Arguments

NameType
top_authoritypubkey
treasurypubkey

Accounts

  • payer
    WritableSigner
  • storage
    Writable
  • system_program
    Read-only
updateExpand

Arguments

NameType
trusted_signerpubkey
expires_ati64

Accounts

  • top_authority
    Read-onlySigner
  • storage
    Writable
verify_messageExpand

Arguments

NameType
message_databytes
ed25519_instruction_indexu16
signature_indexu8

Accounts

  • payer
    WritableSigner
  • storage
    Read-only
  • treasury
    Read-only
  • system_program
    Read-only
  • instructions_sysvar
    Read-only

Program-defined data

IDL events (0)

These are events defined by the Pyth Lazer Solana Program IDL.

No IDL events are listed for this program.

Filter vocabulary

Runtime account roles (6)

Use these exact describeProgram role names when building Parsed Streams account-role filters.

  • instructions_sysvar
  • payer
  • storage
  • system_program
  • top_authority
  • treasury
CTA Video
Divider Image

Parsed Streams documentation

View all
experience the difference

Get started

Parsed Streams is available on all paid plans