# Getblockreward

> Getblockreward is a paid API for AI agents from stablecrypto.dev, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-13).

Returns block and uncle rewards for a given block number on an EVM-compatible chain using the Etherscan block getblockreward API

## Facts

- Endpoint: POST https://stablecrypto.dev/api/etherscan/block/getblockreward
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/getblockreward-0d7be218
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_RTqzH_fk0bIoN6L7lNnmi

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability getblockreward-0d7be218 -d '<json body>'
```

Example prompt: What were the block and uncle rewards for Ethereum mainnet block number 18000000? Use chain ID 1.

## When to prefer this

Use this endpoint when you need to look up historical block mining or uncle rewards for a specific block number on an EVM-compatible chain. Prefer this over raw RPC calls when you want Etherscan-structured reward breakdowns including uncle details. Best for analytics, auditing miner payouts, or verifying block rewards on Ethereum, Polygon, Base, or other EVM chains.

## Known failure modes

- Invalid block number returns an error or empty result
- Block number in the future returns no data
- Unsupported chain ID returns an error
- Malformed request body returns a 400-level error
- Upstream Etherscan API unavailability causes a 500-level error

## How this service works

Pay-per-request access to CoinGecko, DefiLlama, Alchemy, and Etherscan APIs. No auth, no subscriptions.

## Output

Returns block reward details including the miner address, block reward amount in ETH, uncle inclusion rewards, and details for each uncle block (uncle miner address, uncle position, uncle hash, and uncle reward). Mirrors the Etherscan block getblockreward API response structure.

## Example request

```json
{
 "blockno": 18000000,
 "chainid": 1
}
```

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "blockno": {
   "type": "number",
   "description": "Block number"
  },
  "chainid": {
   "type": "number",
   "description": "EVM chain ID (1=Ethereum, 137=Polygon, 8453=Base, etc.)"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/getblockreward-0d7be218/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from stablecrypto.dev](https://www.zero.xyz/host/stablecrypto.dev/llms.txt)
