- Preparing search index...
- The search index is not available
Webb Tools API
Constructors
constructor
- new JsUtxo(curve: Curve, backend: Backend, amount: string, chain_id: string, blinding?: Uint8Array, public_key?: Uint8Array, private_key?: Uint8Array, index?: string): JsUtxo
-
Parameters
-
-
-
amount: string
-
chain_id: string
-
Optional
blinding: Uint8Array
-
Optional
public_key: Uint8Array
-
Optional
private_key: Uint8Array
-
Optional
index: string
Properties
Readonly
amount
amount: string
Readonly
blinding
blinding: string
Readonly
chainId
chainId: string
Readonly
chainIdRaw
chainIdRaw: BigInt
Readonly
commitment
commitment: Uint8Array
Readonly
index
index: any
Readonly
public_key
public_key: string
Readonly
secret_key
secret_key: string
Methods
calculate_nullifier
- calculate_nullifier(): string
-
Returns string
free
- free(): void
-
Returns void
serialize
- serialize(): string
-
Returns string
setIndex
- setIndex(val: BigInt): void
-
Returns void
Static
deserialize
- deserialize(utxo_str: string): JsUtxo
-
Returns