UNPKG

@provablehq/sdk

Version:

A Software Development Kit (SDK) for Zero-Knowledge Transactions

16 lines (15 loc) 475 B
/** * Aleo function Input represented as a typed typescript object. */ import { Ciphertext, Field, Plaintext } from "../../wasm.js"; import { PlaintextObject } from "../plaintext/plaintext.js"; /** * Object representation of an Input as raw JSON returned from a SnarkOS node. */ export interface InputObject { type: "string"; id: "string" | Field; tag?: string | Field; value?: Ciphertext | Plaintext | PlaintextObject; dynamic_id?: string | Field; }