# Network Rewards

Network Rewards are on.

## Required Fields
- **network**: (string, enum)
  - Allowed: `mainnet`

- **start**: (string, required)
  - Rewards received on or after this date

- **end**: (string, required)
  - Rewards received on or before this date

# API Response

## Status Code
- `200`: Got rewards

## Data Structure
- **data**: (array of objects)
  - **data**: (object)
    - **address**: (string)
      - Address that received rewards
    - **vault**: (string)
      - Vault address that received rewards
    - **timestamp**: (string)
      - Timestamp when reward happened
    - **reward_usdc**: (string)
      - Reward amount in USDC
    - **total_staked_usdc**: (string)
      - Total staked to opentrade in USDC

## Example API Request

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

## Example API Response

```json
{
  "data": [
    {
      "address": "string",
      "vault": "string",
      "timestamp": "2024-10-24T00:01:00Z",
      "reward_usdc": 0.02,
      "total_staked_usdc": 2
    }
  ]
}
```
