Constructors
constructor
- new PSKT(payload): PSKT
Properties
Readonly
payload
payload: any
Readonly
role
role: string
Methods
calculateId
- calculateId(): Hash
creator
- creator(): PSKT
fallbackLockTime
- fallbackLockTime(lock_time): PSKT
free
- free(): void
Returns void
input
- input(input): PSKT
inputsModifiable
- inputsModifiable(): PSKT
noMoreInputs
- noMoreInputs(): PSKT
noMoreOutputs
- noMoreOutputs(): PSKT
output
- output(output): PSKT
outputsModifiable
- outputsModifiable(): PSKT
setSequence
- setSequence(n, input_index): PSKT
Parameters
n: bigint
input_index: number
toCombiner
- toCombiner(): PSKT
toConstructor
- toConstructor(): PSKT
toExtractor
- toExtractor(): PSKT
toFinalizer
- toFinalizer(): PSKT
toJSON
- toJSON(): Object
Returns Object
toSigner
- toSigner(): PSKT
toString
- toString(): string
Returns string
toUpdater
- toUpdater(): PSKT
Change role to
CREATOR
#[wasm_bindgen(js_name = toCreator)]