Files
khadhroony-bobobot/kb_demo_app/frontend/ts/bindings/Demo3OnchainDexDiscoveryRequest.ts
2026-05-27 11:28:36 +02:00

51 lines
1.2 KiB
TypeScript

// 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 target event family used to find non-swap signatures.
*/
targetEvent: 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, };