import { Burner } from "../handler"; import { NFT } from "./nfts"; interface NativeTransfer { fromUserAccount: string; toUserAccount: string; amount: number; } interface TokenTransfer { fromUserAccount: string; toUserAccount: string; fromTokenAccount: string; toTokenAccount: string; tokenAmount: number; mint: string; } interface TokenBalanceChange { userAccount: string; tokenAccount: string; mint: string; rawTokenAmount: { tokenAmount: string; decimals: number; }; } interface TransactionError { error: string; } interface InnerInstruction { accounts: string[]; data: string; programId: string; } interface Instruction { accounts: string[]; data: string; programId: string; innerInstructions: InnerInstruction[]; } interface NftEvent { description: string; type: string; amount: number; fee: number; feePayer: string; signature: string; slot: number; timestamp: number; saleType: string; buyer: string; seller: string; staker: string; nfts: { mint: string; tokenStandard: string; }[]; } interface SwapEvent { nativeInput: { account: string; amount: string; }; tokenInputs: null[]; tokenOutputs: null[]; tokenFees: null[]; nativeFees: null[]; innerSwaps: { tokenInputs: null[]; tokenOutputs: null[]; tokenFees: null[]; nativeFees: null[]; programInfo: { source: string; account: string; programName: string; instructionName: string; }; }[]; } export interface HeliusTx { description: string; type: string; source: string; fee: number; feePayer: string; signature: string; slot: number; timestamp: number; nativeTransfers: NativeTransfer[]; tokenTransfers: TokenTransfer[]; accountData: { account: string; nativeBalanceChange: number; tokenBalanceChanges: TokenBalanceChange[]; }[]; transactionError: TransactionError; instructions: Instruction[]; events: { nft?: NftEvent; swap?: SwapEvent; }; } export interface EligibleBurner { burner: Burner; needed: number; suggestedCount: number; actualCount: number; eligibleAssets: { nfts: NFT[]; tokenAmount: number | null; length: number; collection_mint: string | null; }; } export {}; //# sourceMappingURL=transactions.d.ts.map