Solana Data APIs
DFlow Program v4 Data API
Explore decoded instructions, events, and account roles for DFlow Program v4.
DF1ow4tspfHX9JwWJsAb9epbkA8hmpSEAtxXy1V27QBHdescribeProgram
Call describeProgram to get a parsed list of instructions, accounts, and
roles for DFlow Program v4
and 3,600+ Solana programs.
{
"jsonrpc": "2.0",
"id": 1,
"method": "describeProgram",
"params": [
{
"program": "DF1ow4tspfHX9JwWJsAb9epbkA8hmpSEAtxXy1V27QBH"
}
]
}{
"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.
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 Collapse
Arguments
No unambiguous argument schema is available.
Accounts
-
token_accountWritable -
authorityRead-onlySigner -
destinationWritable -
token_programRead-only
close_order Expand Collapse
Arguments
No unambiguous argument schema is available.
Accounts
-
orderWritable -
order_vaultWritable -
return_input_token_accountWritable -
return_rent_toWritable -
closerRead-onlySigner -
token_programRead-only -
system_programRead-only
create_referral_token_account_idempotent Expand Collapse
Arguments
No unambiguous argument schema is available.
Accounts
-
payerWritableSigner -
projectRead-only -
referral_accountRead-only -
referral_token_accountWritable -
mintRead-only -
system_programRead-only -
token_programRead-only -
referral_programRead-only
fill_order Expand Collapse
Arguments
| Name | Type |
|---|---|
| params | FillOrderParams |
Accounts
-
orderWritable -
order_vaultWritable -
output_token_accountWritable -
return_input_token_accountWritable -
return_rent_toWritable -
filler_input_token_accountWritable -
input_mintRead-onlyOptional -
filler_output_token_accountWritable -
output_mintRead-onlyOptional -
fillerWritableSigner -
token_programRead-only -
associated_token_programRead-only -
system_programRead-only -
event_authorityRead-only -
programRead-only
init_market_ledger_idempotent Expand Collapse
Arguments
| Name | Type |
|---|---|
| market_id | [u8; 32] |
Accounts
-
predictions_programRead-only -
market_ledgerRead-only -
market_ledger_redemption_vaultRead-only -
market_ledger_order_vaultRead-only -
market_ledger_reduce_yes_vaultRead-only -
market_ledger_reduce_no_vaultRead-only -
settlement_escrowRead-only -
escrow_mintRead-only -
market_yes_outcome_mintRead-only -
market_no_outcome_mintRead-only -
payerRead-only -
outcome_token_programRead-only -
escrow_token_programRead-only -
system_programRead-only
open_order Expand Collapse
Arguments
| Name | Type |
|---|---|
| params | OpenOrderParams |
Accounts
-
orderWritable -
order_vaultWritable -
input_token_accountWritable -
output_token_accountRead-only -
return_input_token_accountRead-only -
input_mintRead-only -
user_token_authorityRead-onlySigner -
fee_payerWritableSigner -
fee_receiverWritable -
rent_depositorWritableSigner -
token_programRead-only -
system_programRead-only -
rentRead-only
swap Expand Collapse
Arguments
| Name | Type |
|---|---|
| params | SwapParams |
Accounts
-
token_programRead-only -
associated_token_programRead-only -
system_programRead-only -
user_token_authorityRead-onlySigner -
event_authorityRead-only -
programRead-only
swap2 Expand Collapse
Arguments
| Name | Type |
|---|---|
| params | Swap2Params |
Accounts
-
token_programRead-only -
associated_token_programRead-only -
system_programRead-only -
user_token_authorityRead-onlySigner -
event_authorityRead-only -
programRead-only
swap2_with_destination Expand Collapse
Arguments
| Name | Type |
|---|---|
| params | Swap2Params |
Accounts
-
token_programRead-only -
associated_token_programRead-only -
system_programRead-only -
user_token_authorityRead-onlySigner -
destination_token_accountWritable -
destination_token_authorityRead-only -
destination_mintRead-only -
event_authorityRead-only -
programRead-only
swap2_with_destination_native Expand Collapse
Arguments
| Name | Type |
|---|---|
| params | Swap2Params |
Accounts
-
token_programRead-only -
associated_token_programRead-only -
system_programRead-only -
user_token_authorityRead-onlySigner -
destination_accountWritable -
event_authorityRead-only -
programRead-only
swap_with_destination Expand Collapse
Arguments
| Name | Type |
|---|---|
| params | SwapParams |
Accounts
-
token_programRead-only -
associated_token_programRead-only -
system_programRead-only -
user_token_authorityRead-onlySigner -
destination_token_accountWritable -
destination_token_authorityRead-only -
destination_mintRead-only -
event_authorityRead-only -
programRead-only
swap_with_destination_native Expand Collapse
Arguments
| Name | Type |
|---|---|
| params | SwapParams |
Accounts
-
token_programRead-only -
associated_token_programRead-only -
system_programRead-only -
user_token_authorityRead-onlySigner -
destination_accountWritable -
event_authorityRead-only -
programRead-only
transfer_fee Expand Collapse
Arguments
| Name | Type |
|---|---|
| amount | u64 |
Accounts
-
fromRead-only -
toRead-only -
authorityRead-only -
token_programRead-only -
event_authorityRead-only -
programRead-only
transfer_sol Expand Collapse
Arguments
| Name | Type |
|---|---|
| lamports | u64 |
Accounts
-
fromRead-only -
toRead-only -
system_programRead-only
transfer_to_sponsor Expand Collapse
Arguments
| Name | Type |
|---|---|
| amount | u64 |
Accounts
-
user_token_authorityRead-only -
user_token_accountRead-only -
sponsorRead-only -
sponsor_token_accountRead-only -
mintRead-only -
token_programRead-only -
associated_token_programRead-only -
system_programRead-only
unwrap_sol Expand Collapse
Arguments
No unambiguous argument schema is available.
Accounts
-
ownerRead-only -
wrapped_sol_associated_token_accountRead-only -
token_programRead-only
withdraw_fees Expand Collapse
Arguments
| Name | Type |
|---|---|
| amount | u64 | null |
Accounts
-
withdrawerRead-onlySigner -
fee_vaultWritable -
destinationWritable -
mintRead-only -
program_authorityRead-only -
token_programRead-only -
event_authorityRead-only -
programRead-only
wrap_sol Expand Collapse
Arguments
| Name | Type |
|---|---|
| lamports | u64 |
Accounts
-
fromRead-only -
wrapped_sol_associated_token_accountRead-only -
native_mintRead-only -
token_programRead-only -
associated_token_programRead-only -
system_programRead-only
Program-defined data
IDL events (3)
These are events defined by the DFlow Program v4 IDL.
FeeEvent 3 fields
accountpubkeymintpubkeyamountu64
FeeWithdrawalEvent 4 fields
fee_vaultpubkeydestinationpubkeymintpubkeyamountu64
SwapEvent 5 fields
ammpubkeyinput_mintpubkeyinput_amountu64output_mintpubkeyoutput_amountu64
Filter vocabulary
Runtime account roles (58)
Use these exact describeProgram role names when building Parsed Streams account-role filters.
associated_token_programauthoritycloserdestinationdestination_accountdestination_mintdestination_token_accountdestination_token_authorityescrow_mintescrow_token_programevent_authorityfee_payerfee_receiverfee_vaultfillerfiller_input_token_accountfiller_output_token_accountfrominput_mintinput_token_accountmarket_ledgermarket_ledger_order_vaultmarket_ledger_redemption_vaultmarket_ledger_reduce_no_vaultmarket_ledger_reduce_yes_vaultmarket_no_outcome_mintmarket_yes_outcome_mintmintnative_mintorderorder_vaultoutcome_token_programoutput_mintoutput_token_accountownerpayerpredictions_programprogramprogram_authorityprojectreferral_accountreferral_programreferral_token_accountrentrent_depositorreturn_input_token_accountreturn_rent_tosettlement_escrowsponsorsponsor_token_accountsystem_programtotoken_accounttoken_programuser_token_accountuser_token_authoritywithdrawerwrapped_sol_associated_token_account


Parsed Streams documentation
View allGet started
Parsed Streams is available on all paid plans


