@kamino-finance/kamino-db
Version:
Kamino database models
24 lines (23 loc) • 679 B
text/typescript
export interface KSwapInstructionEntity {
id: bigint;
in_amount: string;
out_amount: string;
in_token_mint_id: number;
out_token_mint_id: number;
volume_usd: string;
sol_price: string;
owner_id: number;
searcher_owner_id: number | null;
raw_instruction_id: string;
referral_code_id: string | null;
swap_program_account_id: number;
in_token_price: string | null;
out_token_price: string | null;
min_out_amount: string | null;
sim_out_amount: string | null;
sim_out_amount_next_best: string | null;
sim_timestamp: Date | null;
kswap_aggregator_id: number | null;
next_best_kswap_aggregator_id: number | null;
savings_usd: string | null;
}