# AmanChain Staking Rewards Calculator

> AmanChain Staking Rewards Calculator is a paid API for AI agents from amanchain-relay.gitajhd.workers.dev, paid per call via x402, $0.007465/call, status unknown (last checked 2026-09-14).

Calculates staking rewards for on-chain pools using live consensus state, paid per call via x402 in USDC on Base

## Facts

- Endpoint: POST https://amanchain-relay.gitajhd.workers.dev/api/x402/aman-staking-rewards
- Price: $0.007465/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/amanchain-staking-rewards-calculator-ca832c1e
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_yRP3Ly6ftNO-9JsU_fViF

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 amanchain-staking-rewards-calculator-ca832c1e -d '<json body>'
```

Example prompt: What staking rewards would I earn if I stake 500 AMAN tokens in the main pool on AmanChain — can you calculate the expected yield and APY based on the current live chain state?

## When to prefer this

Use this endpoint when you need real-time, deterministically computed staking rewards data pulled directly from live AmanChain consensus state, especially when on-chain accuracy matters more than estimated approximations. Prefer this over generic DeFi yield estimators when working specifically with AmanChain/AMAN token staking pools.

## Known failure modes

- Invalid or missing serviceId returns an error response
- Malformed request JSON body causes a 400-level error
- Payment not settled or insufficient USDC balance results in x402 payment required error
- Node unavailable or consensus state unreachable returns a service error
- Unsupported pool or staking configuration returns no data

## How this service works

Staking rewards calculator — APR by lock tier (flex, 90-day, 365-day) with daily and yearly yield projection for any AMAN amount. Deterministic on-chain execution by the AmanChain node — live consensus state, real blocks, pools and balances. Pay per call via x402 (USDC on Base), no account, no API key. POST JSON {"serviceId":"aman-staking-rewards","request":"<input>"}.

## Output

Returns computed staking reward figures including estimated yield, APY, and projected earnings based on live on-chain pool data and current consensus state for the specified input parameters.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "input": {
   "type": "object",
   "properties": {
    "body": {
     "type": "object"
    }
   }
  },
  "output": {
   "type": "object",
   "properties": {
    "example": {
     "type": "object",
     "example": {
      "ok": true
     }
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json"
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/amanchain-staking-rewards-calculator-ca832c1e/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from amanchain-relay.gitajhd.workers.dev](https://www.zero.xyz/host/amanchain-relay.gitajhd.workers.dev/llms.txt)
