/** * @packageDocumentation * @module ZKVM-Interfaces */ export interface ZKTransaction { id: string; type: string; sender: string; recipient: string; amount: string; nullifier: string; commitment: string; proof: string; status: string; } export interface SendTransactionParams { type: string; sender: string; recipient: string; amount: string; proof: string; nullifier: string; commitment: string; } export interface SendTransactionResponse { txId: string; status: string; } export interface ShieldedTransactionParams { sender: string; amount: string; proof: string; commitment: string; } export interface ZKBlock { id: string; height: number; timestamp: number; parentHash: string; txCount: number; } export interface UTXO { id: string; commitment: string; amount: string; owner: string; } export interface UTXOCountResponse { count: number; } export interface ZKStatus { blockHeight: number; txCount: number; nullifierCount: number; commitmentCount: number; } export interface ZKAddress { address: string; viewKey: string; spendKey: string; } export interface GenerateAddressResponse { address: string; viewKey: string; spendKey: string; } export interface DecryptNoteParams { encryptedNote: string; viewKey: string; } export interface DecryptNoteResponse { amount: string; sender: string; memo: string; } export interface NullifierStatus { nullifier: string; spent: boolean; spentInBlock: number; } export interface TransferProofParams { inputs: string[]; outputs: string[]; amount: string; } export interface TransferProofResponse { proof: string; publicInputs: string[]; } export interface ShieldProofParams { amount: string; recipient: string; } export interface ShieldProofResponse { proof: string; commitment: string; } export interface VerifyProofParams { proof: string; publicInputs: string[]; } export interface VerifyProofResponse { valid: boolean; } export interface ProofStats { totalProofs: number; verifiedProofs: number; failedProofs: number; avgVerifyTime: number; } //# sourceMappingURL=interfaces.d.ts.map