getCoinbaseRewards
Description
Retrieves the coinbase rewards associated with a given addres from the Aleo blockchain within a block range and page.
Method Parameters
params
-Array
:string
: The Aleo address to retrieve coinbase rewards encoded in bech32 (prefix:aleo
).number
: Start height of desired range (incuded).number
: End height of desired range (excuded).number
: Page number to get.
Returns
result
-Object
: An object containing the rewards.rewards
-Array<Object>
: An array of reward objects.Reward object:
commitment
-string
: The commitment of the puzzle that generated the reward.reward
-number
: The reward amount.target
-string
: The target for the reward.target_sum
-string
: The cumulative target sum.height
-string
: The block height where the reward was generated.block_hash
-string
: The hash of the block containing the reward.timestamp
-string
: The timestamp when the reward was generated.coinbase_reward
-string
: The coinbase reward amount.
Example
Request
Response
Last updated