MoneroApi class abstract interface

Backend interface for Monero RingCT operations (Bulletproofs+) and native batch output scanning (fast unlock).

Implementers

Properties

hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
supported → bool
no setter

Methods

bpPlusProveAmounts({required List<BigInt> amounts, required List<List<int>> gamma, required List<int> seed}) → MoneroBpPlusProof
Prove a Bulletproofs+ for amounts (piconero values, each < 2^64) with gamma masks (each 32 bytes) and a caller-supplied 32-byte seed driving the prover RNG (deterministic per seed; pass fresh randomness per proof).
bpPlusProveScalars({required List<List<int>> sv, required List<List<int>> gamma, required List<int> seed}) → MoneroBpPlusProof
Prove a Bulletproofs+ for raw bit-scalar vectors (sv, each 32 bytes canonical scalars) with gamma masks.
bpPlusVerify(List<MoneroBpPlusProof> proofs) → bool
Batch-verify Bulletproofs+ proofs. Returns true iff every proof is valid; throws on malformed input.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited
unlockBatch({required List<BuMoneroScanAccount> accounts, required List<BuMoneroScanOutput> outputs}) → List<BuMoneroUnlockMatch>
Batch output scan (fast unlock). Ports onchain_crypto_c:monero_unlock_outputs_batch_compact: per (account, output) derives D = 8·v·R, prefilters the view tag, and recomputes P = B + Hs(D‖i)·G for every subaddress spend key.

Operators

operator ==(Object other) → bool
The equality operator.
inherited