NativeMoneroApi class

MoneroApi backed by a native (FFI/platform) implementation.

Implemented types

Constructors

NativeMoneroApi(BuMoneroApi api)
const

Properties

api → BuMoneroApi
final
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 setteroverride

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).
override
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.
override
bpPlusVerify(List<MoneroBpPlusProof> proofs) → bool
Batch-verify Bulletproofs+ proofs. Returns true iff every proof is valid; throws on malformed input.
override
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.
override

Operators

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