Private constructorPrivate
Initializes a new instance of the RewardAddress class.
The address properties.
Private Readonly #networkPrivate Readonly #paymentPrivate Readonly #typeGets the payment credential part of the reward address.
Note: by convention, the key inside reward addresses are NOT considered stake credentials, pointer addresses and the chain history is required to resolve its associated credential
Static fromCreates a RewardAddress address from an Address instance.
The RewardAddress instance or undefined if Address is not a valid RewardAddress.
Static fromCreates a new instance of the RewardAddress from its credentials.
The Network identifier.
The payment credential.
Static packPacks the reward address into its raw binary format.
The address properties.
Static unpackGenerated using TypeDoc
A reward address is a cryptographic hash of the public stake key of the address. Reward account addresses are used to distribute rewards for participating in the proof-of-stake protocol (either directly or via delegation).