export interface Vaa { sequence: number; id: string; version: number; emitterChain: number; emitterAddr: string; emitterNativeAddr: string; guardianSetIndex: number; vaa: string; timestamp: string; updatedAt: string; indexedAt: string; txHash: string; } export interface VaaBytes { vaaBytes: string; } export interface Operation { id: string; content: { payload: OperationPayload; standarizedProperties: OperationProperties; }; /** Indexer enrichment, absent for parachain emitted operations. */ data?: { symbol: string; tokenAmount: string; }; emitterChain: number; emitterAddress: { hex: string; native?: string; }; sequence: string; sourceChain: { chainId: number; from: string; status: string; timestamp: string; transaction: { txHash: string; }; }; targetChain?: { status: string; }; vaa?: { guardianSetIndex: number; isDuplicated: boolean; raw: string; }; } export interface OperationParsedPayload { targetRecipient: string; targetRelayerFee: bigint; toNativeTokenAmount: bigint; } export interface OperationPayload { amount: string; fee: string; fromAddress: string; parsedPayload: OperationParsedPayload; payload: string; payloadType: number; toAddress: string; toChain: number; tokenAddress: string; tokenChain: number; } export interface OperationProperties { fromChain: number; fromAddress: string; toChain: number; toAddress: string; tokenChain: number; tokenAddress: string; amount: string; normalizedDecimals: number; } export declare class WormholeScan { private _baseUrl; constructor(baseUrl?: string); private buildApi; getVaaBytes(wormholeId: string): Promise; getVaa(wormholeId: string): Promise; getVaaByTxHash(txHash: string): Promise; getOperations(params: Record): Promise; getOperation(wormholeId: string): Promise; }