MethodDecoratorOptions
bitcoinjs-lib / MethodDecoratorOptions
Interface: MethodDecoratorOptions
Defined in: packages/scrypt-ts-btc/src/smart-contract/decorators.ts:26
When autoCheckInputStateHash
is set to true, the system will automatically check the StateHash of all inputs
in the current transaction by default. Otherwise, you can use this.checkInputStateHash(inputIndex: Int32, stateHash: ByteString)
to manually specify which input's StateHash to verify.
Onchain
Properties
autoCheckInputStateHash
autoCheckInputStateHash:
boolean
Defined in: packages/scrypt-ts-btc/src/smart-contract/decorators.ts:27