BunkerJudgeOptions
Defined in: judge.ts:58
What judgeBunker asks the app.
Extended by
Section titled “Extended by”Type Parameters
Section titled “Type Parameters”R extends BunkerRequest = BunkerRequest
Properties
Section titled “Properties”isFullSweep?
Section titled “isFullSweep?”
optionalisFullSweep?: (request) =>boolean|Promise<boolean>
Defined in: judge.ts:71
Does this send move the whole balance of its asset? A partial send exposes the key and leaves
the rest behind it. Without this check every send is a partial-spend.
Parameters
Section titled “Parameters”request
Section titled “request”R
Returns
Section titled “Returns”boolean | Promise<boolean>
isSealedDestination?
Section titled “isSealedDestination?”
optionalisSealedDestination?: (chain,address) =>boolean|Promise<boolean>
Defined in: judge.ts:66
Is address a sealed address of this wallet: derived from the same seed, never used on-chain
and absent from the ledger? Use nextSealedIndex to pick one, or a vault address.
Without it no address counts as sealed: every send of a protected account breaks
unsealed-destination (refused in enforce, reported in warn). An app that only warns can leave it out.
Parameters
Section titled “Parameters”string
address
Section titled “address”string
Returns
Section titled “Returns”boolean | Promise<boolean>