On this page
Class: StakingContract
Utility class providing methods to parse Staking Contract transaction data and proofs.
Constructors
new StakingContract()
new StakingContract():
StakingContract
Returns
Methods
free()
free():
void
Returns
void
Defined in
@nimiq/core/types/wasm/web.d.ts:1978
dataToPlain()
static
dataToPlain(data
):PlainTransactionRecipientData
Parses the data of a Staking Contract incoming transaction into a plain object.
Parameters
• data: Uint8Array
Returns
Defined in
@nimiq/core/types/wasm/web.d.ts:1984
proofToPlain()
static
proofToPlain(proof
):PlainTransactionProof
Parses the proof of a Staking Contract outgoing transaction into a plain object.
Parameters
• proof: Uint8Array
Returns
Defined in
@nimiq/core/types/wasm/web.d.ts:1990