UNPKG

@bit-gpt/h402

Version:

BitGPT's 402 open protocol for blockchain-native payments

16 lines 630 B
import { type GetTransactionApi } from "@solana/kit"; /** * Options for fetching a transaction */ export type FetchTxOptions = { /** Whether to wait for the transaction to reach desired confirmations */ waitForConfirmation?: boolean; /** Maximum time to wait for confirmation in milliseconds */ timeout?: number; }; /** * Fetch a transaction by its signature * Optionally wait for it to reach the desired confirmation level */ export declare function fetchTransaction(signature: string, options?: FetchTxOptions): Promise<ReturnType<GetTransactionApi["getTransaction"]>>; //# sourceMappingURL=fetchTx.d.ts.map