v1

latestOpenAPI 3.0.02026-07-26268286602.5 KB
celo

List Celo epoch election rewards.

Retrieves a paginated list of election rewards for a Celo epoch and reward type.

get/{chain_id}/api/v2/celo/epochs/{number}/election-rewards/{type}

Path parameters

numberstring required

Epoch number in the path.

type'voter' | 'validator' | 'group' | 'delegated_payment' | 'delegated-payment' required

Reward type in the path.

chain_idstring required

The ID of the blockchain

Query parameters

items_countinteger

Number of items per page

amountstring nullable

Amount for paging

account_address_hashstring

Account address hash for paging

associated_account_address_hashstring

Associated account address hash for paging

Response

Election rewards for the specified Celo epoch.

next_page_paramsobject nullable required

Example response

{
  "items": [
    {
      "token": {
        "icon_url": "https://example.com"
      }
    }
  ],
  "next_page_params": {
    "account_address_hash": "0x1234567890123456789012345678901234567890",
    "amount": "1000000000000000000",
    "associated_account_address_hash": "0x0987654321098765432109876543210987654321"
  }
}