# Models

## The EthereumV1DelegatorRewards object

```json
{"openapi":"3.1.0","info":{"title":"Chorus One Ethereum Rewards API","version":"1.16.0"},"components":{"schemas":{"EthereumV1DelegatorRewards":{"properties":{"delegator_address":{"type":"string","title":"Delegator Address","description":"Delegator address"},"entries":{"items":{"$ref":"#/components/schemas/EthereumV1DelegatorRewardsEntry"},"type":"array","title":"Entries","description":"All staking entries for this delegator across vaults and time"}},"type":"object","required":["delegator_address","entries"],"title":"EthereumV1DelegatorRewards"},"EthereumV1DelegatorRewardsEntry":{"properties":{"timestamp":{"type":"string","format":"date-time","title":"Timestamp","description":"Timestamp"},"delegator_address":{"type":"string","title":"Delegator Address","description":"Delegator address"},"vault_address":{"type":"string","title":"Vault Address","description":"Vault address"},"denom":{"type":"string","title":"Denom","description":"Denominator (wei for Ethereum)"},"stake_amount":{"type":"string","title":"Stake Amount","description":"Stake amount"},"rewards":{"type":"string","title":"Rewards","description":"Rewards amount"},"accumulated_rewards":{"type":"string","title":"Accumulated Rewards","description":"Accumulated rewards amount"},"withdrawal":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Withdrawal","description":"Withdrawal amount"},"txs":{"anyOf":[{"items":{"$ref":"#/components/schemas/EthereumV1Transaction"},"type":"array"},{"type":"null"}],"title":"Txs","description":"List of parsed deposit/withdrawal events"}},"type":"object","required":["timestamp","delegator_address","vault_address","denom","stake_amount","rewards","accumulated_rewards","withdrawal"],"title":"EthereumV1DelegatorRewardsEntry"},"EthereumV1Transaction":{"properties":{"event_name":{"type":"string","title":"Event Name","description":"Name of the event, e.g., Deposited, Withdrawn"},"tx_hash":{"type":"string","title":"Tx Hash","description":"Transaction hash associated with the event"}},"type":"object","required":["event_name","tx_hash"],"title":"EthereumV1Transaction"}}}}
```

## The EthereumV1DelegatorRewardsEntry object

```json
{"openapi":"3.1.0","info":{"title":"Chorus One Ethereum Rewards API","version":"1.16.0"},"components":{"schemas":{"EthereumV1DelegatorRewardsEntry":{"properties":{"timestamp":{"type":"string","format":"date-time","title":"Timestamp","description":"Timestamp"},"delegator_address":{"type":"string","title":"Delegator Address","description":"Delegator address"},"vault_address":{"type":"string","title":"Vault Address","description":"Vault address"},"denom":{"type":"string","title":"Denom","description":"Denominator (wei for Ethereum)"},"stake_amount":{"type":"string","title":"Stake Amount","description":"Stake amount"},"rewards":{"type":"string","title":"Rewards","description":"Rewards amount"},"accumulated_rewards":{"type":"string","title":"Accumulated Rewards","description":"Accumulated rewards amount"},"withdrawal":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Withdrawal","description":"Withdrawal amount"},"txs":{"anyOf":[{"items":{"$ref":"#/components/schemas/EthereumV1Transaction"},"type":"array"},{"type":"null"}],"title":"Txs","description":"List of parsed deposit/withdrawal events"}},"type":"object","required":["timestamp","delegator_address","vault_address","denom","stake_amount","rewards","accumulated_rewards","withdrawal"],"title":"EthereumV1DelegatorRewardsEntry"},"EthereumV1Transaction":{"properties":{"event_name":{"type":"string","title":"Event Name","description":"Name of the event, e.g., Deposited, Withdrawn"},"tx_hash":{"type":"string","title":"Tx Hash","description":"Transaction hash associated with the event"}},"type":"object","required":["event_name","tx_hash"],"title":"EthereumV1Transaction"}}}}
```

## The EthereumV1Transaction object

```json
{"openapi":"3.1.0","info":{"title":"Chorus One Ethereum Rewards API","version":"1.16.0"},"components":{"schemas":{"EthereumV1Transaction":{"properties":{"event_name":{"type":"string","title":"Event Name","description":"Name of the event, e.g., Deposited, Withdrawn"},"tx_hash":{"type":"string","title":"Tx Hash","description":"Transaction hash associated with the event"}},"type":"object","required":["event_name","tx_hash"],"title":"EthereumV1Transaction"}}}}
```

## The HTTPValidationError object

```json
{"openapi":"3.1.0","info":{"title":"Chorus One Ethereum Rewards API","version":"1.16.0"},"components":{"schemas":{"HTTPValidationError":{"properties":{"detail":{"items":{"$ref":"#/components/schemas/ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"},"ValidationError":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"}}}}
```

## The ValidationError object

```json
{"openapi":"3.1.0","info":{"title":"Chorus One Ethereum Rewards API","version":"1.16.0"},"components":{"schemas":{"ValidationError":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"}}}}
```
