NEW: Helius acquires Light Protocol

Solana Data APIs

xORCA Staking Program Data API

Explore decoded instructions, events, and account roles for xORCA Staking Program.

Program ID
StaKE6XNKVVhG8Qu9hDJBqCW3eRe7MDGLz17nJZetLT
GET PROGRAM INFO

describeProgram

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

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

Copyable examples

Stream xORCA Staking Program data

Subscribe using the xORCA Staking 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: ["StaKE6XNKVVhG8Qu9hDJBqCW3eRe7MDGLz17nJZetLT"],
      instructionNames: ["initialize"],
      includeFailed: false,
      includeCpi: true,
    }],
  }));
});

Runtime vocabulary

Instructions (5)

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

initializeExpand

Arguments

NameType
coolDownPeriodSi64

Accounts

  • payer_account
    WritableSigner
  • update_authority_account
    WritableSigner
  • state_account
    Writable
  • vault_account
    Writable
  • xorca_mint_account
    Read-only
  • orca_mint_account
    Read-only
  • system_program_account
    Read-only
  • token_program_account
    Read-only
  • associated_token_program_account
    Read-only
setExpand

Arguments

NameType
instructionDataStateUpdateInstruction

Accounts

  • update_authority_account
    WritableSigner
  • state_account
    Writable
stakeExpand

Arguments

NameType
orcaStakeAmountu64

Accounts

  • staker_account
    WritableSigner
  • vault_account
    Writable
  • staker_orca_ata
    Writable
  • staker_xorca_ata
    Writable
  • xorca_mint_account
    Writable
  • state_account
    Read-only
  • orca_mint_account
    Read-only
  • token_program_account
    Read-only
unstakeExpand

Arguments

NameType
xorcaUnstakeAmountu64
withdrawIndexu8

Accounts

  • unstaker_account
    WritableSigner
  • state_account
    Writable
  • pending_withdraw_account
    Writable
  • unstaker_xorca_ata
    Writable
  • xorca_mint_account
    Writable
  • orca_mint_account
    Read-only
  • vault_account
    Read-only
  • system_program_account
    Read-only
  • token_program_account
    Read-only
withdrawExpand

Arguments

NameType
withdrawIndexu8

Accounts

  • unstaker_account
    WritableSigner
  • state_account
    Writable
  • pending_withdraw_account
    Writable
  • unstaker_orca_ata
    Writable
  • vault_account
    Writable
  • orca_mint_account
    Read-only
  • system_program_account
    Read-only
  • token_program_account
    Read-only

Program-defined data

IDL events (0)

These are events defined by the xORCA Staking Program IDL.

No IDL events are listed for this program.

Filter vocabulary

Runtime account roles (16)

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

  • associated_token_program_account
  • orca_mint_account
  • payer_account
  • pending_withdraw_account
  • staker_account
  • staker_orca_ata
  • staker_xorca_ata
  • state_account
  • system_program_account
  • token_program_account
  • unstaker_account
  • unstaker_orca_ata
  • unstaker_xorca_ata
  • update_authority_account
  • vault_account
  • xorca_mint_account
CTA Video
Divider Image

Parsed Streams documentation

View all
experience the difference

Get started

Parsed Streams is available on all paid plans