Classes
StakingContract
Utility class providing methods to parse Staking Contract transaction data and proofs.
Methods
free()
dataToPlain()
Parses the data of a Staking Contract incoming transaction into a plain object.
Parameter | Type |
---|---|
First | Uint8Array |
proofToPlain()
Parses the proof of a Staking Contract outgoing transaction into a plain object.
Parameter | Type |
---|---|
First | Uint8Array |
Returns |
---|
PlainTransactionProof |