Constructs a new RewardAddress instance.
This constructor is not meant to be called directly. Instead, use static methods like:
The memory address of the reward address WASM object.
Whether the instance should be managed by the finalization registry for garbage collection.
Gets the stake credential of the reward address.
The stake credential.
StaticfromCreates a reward address from a general address.
The general address to convert.
A new RewardAddress instance.
StaticfromCreates a reward address from a Bech32 string.
The Bech32 string containing the address.
A new RewardAddress instance.
StaticfromCreates a reward address from raw bytes.
The byte array containing the address data.
A new RewardAddress instance.
StaticfromCreates a reward address from stake credentials.
The network identifier (mainnet or testnet).
The stake credential.
A new RewardAddress instance.
Represents a reward address in the Cardano blockchain.
A reward address is a type of Shelley-era address that includes only a stake credential. Unlike base addresses, reward addresses cannot be used for spending and are specifically designed to receive staking rewards. They are typically derived from the stake credential of a base address.