NEW: Solana Privacy Rings are now live on mainnet

Solana Data APIs

DFlow Program v4 Data API

Explore decoded instructions, events, and account roles for DFlow Program v4.

Program ID
DF1ow4tspfHX9JwWJsAb9epbkA8hmpSEAtxXy1V27QBH
GET PROGRAM INFO

describeProgram

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

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

Copyable examples

Stream DFlow Program v4 data

Subscribe using the DFlow Program v4 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: ["DF1ow4tspfHX9JwWJsAb9epbkA8hmpSEAtxXy1V27QBH"],
      instructionNames: ["close_empty_token_account"],
      includeFailed: false,
      includeCpi: true,
    }],
  }));
});

Runtime vocabulary

Instructions (18)

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

close_empty_token_account Expand

Arguments

No unambiguous argument schema is available.

Accounts

  • token_account
    Writable
  • authority
    Read-onlySigner
  • destination
    Writable
  • token_program
    Read-only
close_order Expand

Arguments

No unambiguous argument schema is available.

Accounts

  • order
    Writable
  • order_vault
    Writable
  • return_input_token_account
    Writable
  • return_rent_to
    Writable
  • closer
    Read-onlySigner
  • token_program
    Read-only
  • system_program
    Read-only
create_referral_token_account_idempotent Expand

Arguments

No unambiguous argument schema is available.

Accounts

  • payer
    WritableSigner
  • project
    Read-only
  • referral_account
    Read-only
  • referral_token_account
    Writable
  • mint
    Read-only
  • system_program
    Read-only
  • token_program
    Read-only
  • referral_program
    Read-only
fill_order Expand

Arguments

NameType
paramsFillOrderParams

Accounts

  • order
    Writable
  • order_vault
    Writable
  • output_token_account
    Writable
  • return_input_token_account
    Writable
  • return_rent_to
    Writable
  • filler_input_token_account
    Writable
  • input_mint
    Read-onlyOptional
  • filler_output_token_account
    Writable
  • output_mint
    Read-onlyOptional
  • filler
    WritableSigner
  • token_program
    Read-only
  • associated_token_program
    Read-only
  • system_program
    Read-only
  • event_authority
    Read-only
  • program
    Read-only
init_market_ledger_idempotent Expand

Arguments

NameType
market_id[u8; 32]

Accounts

  • predictions_program
    Read-only
  • market_ledger
    Read-only
  • market_ledger_redemption_vault
    Read-only
  • market_ledger_order_vault
    Read-only
  • market_ledger_reduce_yes_vault
    Read-only
  • market_ledger_reduce_no_vault
    Read-only
  • settlement_escrow
    Read-only
  • escrow_mint
    Read-only
  • market_yes_outcome_mint
    Read-only
  • market_no_outcome_mint
    Read-only
  • payer
    Read-only
  • outcome_token_program
    Read-only
  • escrow_token_program
    Read-only
  • system_program
    Read-only
open_order Expand

Arguments

NameType
paramsOpenOrderParams

Accounts

  • order
    Writable
  • order_vault
    Writable
  • input_token_account
    Writable
  • output_token_account
    Read-only
  • return_input_token_account
    Read-only
  • input_mint
    Read-only
  • user_token_authority
    Read-onlySigner
  • fee_payer
    WritableSigner
  • fee_receiver
    Writable
  • rent_depositor
    WritableSigner
  • token_program
    Read-only
  • system_program
    Read-only
  • rent
    Read-only
swap Expand

Arguments

NameType
paramsSwapParams

Accounts

  • token_program
    Read-only
  • associated_token_program
    Read-only
  • system_program
    Read-only
  • user_token_authority
    Read-onlySigner
  • event_authority
    Read-only
  • program
    Read-only
swap2 Expand

Arguments

NameType
paramsSwap2Params

Accounts

  • token_program
    Read-only
  • associated_token_program
    Read-only
  • system_program
    Read-only
  • user_token_authority
    Read-onlySigner
  • event_authority
    Read-only
  • program
    Read-only
swap2_with_destination Expand

Arguments

NameType
paramsSwap2Params

Accounts

  • token_program
    Read-only
  • associated_token_program
    Read-only
  • system_program
    Read-only
  • user_token_authority
    Read-onlySigner
  • destination_token_account
    Writable
  • destination_token_authority
    Read-only
  • destination_mint
    Read-only
  • event_authority
    Read-only
  • program
    Read-only
swap2_with_destination_native Expand

Arguments

NameType
paramsSwap2Params

Accounts

  • token_program
    Read-only
  • associated_token_program
    Read-only
  • system_program
    Read-only
  • user_token_authority
    Read-onlySigner
  • destination_account
    Writable
  • event_authority
    Read-only
  • program
    Read-only
swap_with_destination Expand

Arguments

NameType
paramsSwapParams

Accounts

  • token_program
    Read-only
  • associated_token_program
    Read-only
  • system_program
    Read-only
  • user_token_authority
    Read-onlySigner
  • destination_token_account
    Writable
  • destination_token_authority
    Read-only
  • destination_mint
    Read-only
  • event_authority
    Read-only
  • program
    Read-only
swap_with_destination_native Expand

Arguments

NameType
paramsSwapParams

Accounts

  • token_program
    Read-only
  • associated_token_program
    Read-only
  • system_program
    Read-only
  • user_token_authority
    Read-onlySigner
  • destination_account
    Writable
  • event_authority
    Read-only
  • program
    Read-only
transfer_fee Expand

Arguments

NameType
amountu64

Accounts

  • from
    Read-only
  • to
    Read-only
  • authority
    Read-only
  • token_program
    Read-only
  • event_authority
    Read-only
  • program
    Read-only
transfer_sol Expand

Arguments

NameType
lamportsu64

Accounts

  • from
    Read-only
  • to
    Read-only
  • system_program
    Read-only
transfer_to_sponsor Expand

Arguments

NameType
amountu64

Accounts

  • user_token_authority
    Read-only
  • user_token_account
    Read-only
  • sponsor
    Read-only
  • sponsor_token_account
    Read-only
  • mint
    Read-only
  • token_program
    Read-only
  • associated_token_program
    Read-only
  • system_program
    Read-only
unwrap_sol Expand

Arguments

No unambiguous argument schema is available.

Accounts

  • owner
    Read-only
  • wrapped_sol_associated_token_account
    Read-only
  • token_program
    Read-only
withdraw_fees Expand

Arguments

NameType
amountu64 | null

Accounts

  • withdrawer
    Read-onlySigner
  • fee_vault
    Writable
  • destination
    Writable
  • mint
    Read-only
  • program_authority
    Read-only
  • token_program
    Read-only
  • event_authority
    Read-only
  • program
    Read-only
wrap_sol Expand

Arguments

NameType
lamportsu64

Accounts

  • from
    Read-only
  • wrapped_sol_associated_token_account
    Read-only
  • native_mint
    Read-only
  • token_program
    Read-only
  • associated_token_program
    Read-only
  • system_program
    Read-only

Program-defined data

IDL events (3)

These are events defined by the DFlow Program v4 IDL.

FeeEvent 3 fields
  • account pubkey
  • mint pubkey
  • amount u64
FeeWithdrawalEvent 4 fields
  • fee_vault pubkey
  • destination pubkey
  • mint pubkey
  • amount u64
SwapEvent 5 fields
  • amm pubkey
  • input_mint pubkey
  • input_amount u64
  • output_mint pubkey
  • output_amount u64

Filter vocabulary

Runtime account roles (58)

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

  • associated_token_program
  • authority
  • closer
  • destination
  • destination_account
  • destination_mint
  • destination_token_account
  • destination_token_authority
  • escrow_mint
  • escrow_token_program
  • event_authority
  • fee_payer
  • fee_receiver
  • fee_vault
  • filler
  • filler_input_token_account
  • filler_output_token_account
  • from
  • input_mint
  • input_token_account
  • market_ledger
  • market_ledger_order_vault
  • market_ledger_redemption_vault
  • market_ledger_reduce_no_vault
  • market_ledger_reduce_yes_vault
  • market_no_outcome_mint
  • market_yes_outcome_mint
  • mint
  • native_mint
  • order
  • order_vault
  • outcome_token_program
  • output_mint
  • output_token_account
  • owner
  • payer
  • predictions_program
  • program
  • program_authority
  • project
  • referral_account
  • referral_program
  • referral_token_account
  • rent
  • rent_depositor
  • return_input_token_account
  • return_rent_to
  • settlement_escrow
  • sponsor
  • sponsor_token_account
  • system_program
  • to
  • token_account
  • token_program
  • user_token_account
  • user_token_authority
  • withdrawer
  • wrapped_sol_associated_token_account
CTA Video
Divider Image

Parsed Streams documentation

View all
experience the difference

Get started

Parsed Streams is available on all paid plans