"""EmissionInfo model — emission data for a given block height."""

from pydantic import BaseModel, Field


class EmissionInfo(BaseModel):
    """Emission data returned by ``GET /emission/at/{blockHeight}``."""

    miner_reward: int = Field(alias="minerReward")
    total_coins_issued: int = Field(alias="totalCoinsIssued")
    total_remain_coins: int = Field(alias="totalRemainCoins")
    reemitted: int = Field(alias="reemitted")
