NEW: Helius acquires Light Protocol

Solana Data APIs

Phantom RFQ Program Data API

Explore decoded instructions, events, and account roles for Phantom RFQ Program.

Program ID
2En5Y11SEAGLNmEezTuRUCwTyzyNReHaMbSnS5gjGsL1
GET PROGRAM INFO

describeProgram

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

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

Copyable examples

Stream Phantom RFQ Program data

Subscribe using the Phantom RFQ 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: ["2En5Y11SEAGLNmEezTuRUCwTyzyNReHaMbSnS5gjGsL1"],
      instructionNames: ["fill"],
      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

fillExpand

Arguments

NameType
input_amountu64
output_amountu64
expire_ati64

Accounts

  • taker
    WritableSigner
  • maker
    WritableSigner
  • taker_input_mint_token_account
    WritableOptional
  • maker_input_mint_token_account
    WritableOptional
  • taker_output_mint_token_account
    WritableOptional
  • maker_output_mint_token_account
    WritableOptional
  • input_mint
    Read-only
  • input_token_program
    Read-only
  • output_mint
    Read-only
  • output_token_program
    Read-only
  • system_program
    Read-only

Program-defined data

IDL events (0)

These are events defined by the Phantom RFQ Program IDL.

No IDL events are listed for this program.

Filter vocabulary

Runtime account roles (11)

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

  • input_mint
  • input_token_program
  • maker
  • maker_input_mint_token_account
  • maker_output_mint_token_account
  • output_mint
  • output_token_program
  • system_program
  • taker
  • taker_input_mint_token_account
  • taker_output_mint_token_account
CTA Video
Divider Image

Parsed Streams documentation

View all
experience the difference

Get started

Parsed Streams is available on all paid plans