// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.

/**
 * Request payload for on-chain DEX pair/pool discovery.
 */
export type Demo3OnchainDexDiscoveryRequest = { 
/**
 * Optional DEX code from the support matrix.
 */
dexCode: string | null, 
/**
 * Optional Solana program id. When absent, dex_code must resolve to a verified program id.
 */
programId: string | null, 
/**
 * Optional signature source: `program_id` or `address`.
 */
signatureSource: string | null, 
/**
 * Optional source address used when signature_source is `address`.
 */
sourceAddress: string | null, 
/**
 * Optional extra source addresses used for multi-pool discovery.
 */
sourceAddresses: Array<string>, 
/**
 * Optional `before` cursor passed to Solana getSignaturesForAddress.
 */
beforeSignature: string | null, 
/**
 * Optional `until` cursor passed to Solana getSignaturesForAddress.
 */
untilSignature: string | null, 
/**
 * Maximum number of signature pages to fetch per source address.
 */
maxPages: number, 
/**
 * Signature processing order: newest_first or oldest_first.
 */
scanOrder: string | null, 
/**
 * Optional target event family used to find non-swap signatures.
 */
targetEvent: string | null, 
/**
 * Optional instruction name filter, e.g. `withdraw` or `raydium_cpmm.withdraw`.
 */
targetInstructionName: string | null, 
/**
 * Optional instruction discriminator filter as 16-char lower hex, comma-separated when needed.
 */
targetDiscriminatorHex: string | null, 
/**
 * Whether transactions containing swap-like logs should be skipped.
 */
excludeSwaps: boolean, 
/**
 * Whether failed transactions should be returned as candidates.
 */
includeFailed: boolean, 
/**
 * HTTP role used to query Solana RPC.
 */
httpRole: string, 
/**
 * Maximum number of signatures to inspect.
 */
signatureLimit: number, 
/**
 * Maximum number of transactions to fetch from the signature list.
 */
transactionLimit: number, 
/**
 * Maximum number of candidate rows to return.
 */
candidateLimit: number, };
