@midnight/zswap v0.3.11 • Readme | API
@midnight/zswap v0.3.11 / Transaction
Class: Transaction
A Midnight transaction, consisting a guaranteed and fallible Offer, and contract call information hidden from this API.
The guaranteed section are run first, and fee payment is taken during this part. If it succeeds, the fallible section is also run, and atomically rolled back if it fails.
Constructors
new Transaction()
new Transaction(): Transaction