# General features described in [Rewards Overview](https://docs.figment.io/docs/rewards-overview)

Powered by [Tres](https://tres.finance/)

## Network

### Network Rewards are on.

- `mainnet`

### Start

Rewards received on or after this date

### End

Rewards received on or before this date

# Response Structure

## 200 Got rewards

### Object

#### Data

Array of objects

- **Address**: `string` (Address that received rewards)
- **Validator**: `string` (Validator address)
- **Timestamp**: `string` (Timestamp when reward happened)
- **Reward**: `string` (Reward amount)
- **Reward_usd**: `string` (Reward amount in USD)
- **Total_staked**: `string` (Total staked to avalanche)

## Example Request

```bash
curl --request POST \
     --url https://api.figment.io/avalanche/rewards \
     --header 'accept: application/json' \
     --header 'content-type: application/json' \
     --header 'x-api-key: your-api-key-here' \
     --data '{
{
  "network": "mainnet"
}
}'
```

## Example Response

```json
{
  "data": [
    {
      "address": "string",
      "validator": "string",
      "timestamp": "2024-10-24T00:01:00Z",
      "reward": 0.008,
      "reward_usd": 0.02,
      "total_staked": 2
    }
  ]
}
```
