NEW: Helius acquires Light Protocol

Solana Data APIs

Pyth Push Oracle Program Data API

Explore decoded instructions, events, and account roles for Pyth Push Oracle Program.

Program ID
pyt2F414BA6dPttK6RddPZUdHfapoBN24GL5wbrPCou
GET PROGRAM INFO

describeProgram

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

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

Copyable examples

Stream Pyth Push Oracle Program data

Subscribe using the Pyth Push Oracle 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: ["pyt2F414BA6dPttK6RddPZUdHfapoBN24GL5wbrPCou"],
      instructionNames: ["update_price_feed"],
      includeFailed: false,
      includeCpi: true,
    }],
  }));
});

Runtime vocabulary

Instructions (1)

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 1 instructions

update_price_feedExpand

Arguments

NameType
paramsPostUpdateParams
shardIdu16
feedId[u8; 32]

Accounts

  • payer
    WritableSigner
  • pyth_solana_receiver
    Read-only
  • encoded_vaa
    Read-only
  • config
    Read-only
  • treasury
    Writable
  • price_feed_account
    Writable
  • system_program
    Read-only

Program-defined data

IDL events (0)

These are events defined by the Pyth Push Oracle Program IDL.

No IDL events are listed for this program.

Filter vocabulary

Runtime account roles (7)

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

  • config
  • encoded_vaa
  • payer
  • price_feed_account
  • pyth_solana_receiver
  • system_program
  • treasury
CTA Video
Divider Image

Parsed Streams documentation

View all
experience the difference

Get started

Parsed Streams is available on all paid plans