SignedTransaction
Defined in: ootle/src/transaction.ts:141
A signed transaction produced by signTransaction, ready to be sealed.
Carries the byte-exact sealedJson string emitted by WASM alongside a parsed
Transaction view. The two are intentionally separate:
sealedJsonis the canonical artifact. It preserves u64 amounts that exceedNumber.MAX_SAFE_INTEGER(e.g. a confidential output’sminimum_value_promise), which the engine emits as bare JSON numbers. sealTransaction BOR-encodes this string directly — it never re-stringifies the parsed object.transactionis a convenience view for inspection only. It is the result ofJSON.parse(sealedJson), so any bare integer above 2^53 has already been rounded. Re-serialising it (JSON.stringify) and submitting that is lossy — always seal viasealedJson.
Properties
Section titled “Properties”sealedJson
Section titled “sealedJson”
readonlysealedJson:string
Defined in: ootle/src/transaction.ts:143
The byte-exact sealed-transaction JSON from WASM — the canonical bytes to BOR-encode.
transaction
Section titled “transaction”
readonlytransaction:Transaction
Defined in: ootle/src/transaction.ts:148
Parsed view of sealedJson for inspection. Lossy for u64 amounts > 2^53 — do NOT re-serialise this for submission; seal via sealedJson instead.