> ## Documentation Index
> Fetch the complete documentation index at: https://docs.exponent.finance/llms.txt
> Use this file to discover all available pages before exploring further.

# Wallet reward accrual history

> Retrieve interval-level emission accrual for a wallet and vault.

export const ApiResponse = ({children, errors = {}}) => {
  const [status, setStatus] = useState("200");
  const statuses = ["200", ...Object.keys(errors)];
  return <section className="api-response" aria-label="Response">
      <div className="api-response-header not-prose">
        <h2>Response</h2>
        <div className="api-response-format">
          {statuses.length > 1 ? <select aria-label="Response status" value={status} onChange={event => setStatus(event.target.value)}>
              {statuses.map(code => <option key={code} value={code}>{code}</option>)}
            </select> : <span>200</span>}
          <span className="api-response-mime">application/json</span>
        </div>
      </div>
      <div hidden={status !== "200"}>{children}</div>
      {status !== "200" && <div aria-live="polite">
          {Object.entries(errors[status]).map(([name, value]) => <ResponseField key={name} name={name} type={value === null ? "null" : Array.isArray(value) ? "array" : typeof value}>
              {name === "error" ? "Error message describing why the request failed." : "Additional error details."}
            </ResponseField>)}
        </div>}
    </section>;
};

## Path parameters

<ParamField path="userAddress" type="string" required>
  User wallet address.
</ParamField>

<ParamField path="vaultAddress" type="string" required>
  Vault address.
</ParamField>

## Query parameters

<ParamField query="periodStartUnix" type="number">
  Unix seconds. Default: seven days before the end.
</ParamField>

<ParamField query="periodEndUnix" type="number">
  Unix seconds. Default: now.
</ParamField>

<RequestExample dropdown>
  ```bash cURL theme={null}
  curl https://api.exponent.finance/orderbook-emissions/accrual/HRt73vbP87cUmzJJAH5tWyCuwyN9Syws2RxqND9pTMs4/Cmry6B5824MGAKrtL2u7YG9PiLZLoTBWs8hVaCJeUFaH
  ```

  ```python Python theme={null}
  import requests

  response = requests.get("https://api.exponent.finance/orderbook-emissions/accrual/HRt73vbP87cUmzJJAH5tWyCuwyN9Syws2RxqND9pTMs4/Cmry6B5824MGAKrtL2u7YG9PiLZLoTBWs8hVaCJeUFaH", timeout=30)
  response.raise_for_status()
  print(response.json())
  ```

  ```javascript JavaScript theme={null}
  const response = await fetch("https://api.exponent.finance/orderbook-emissions/accrual/HRt73vbP87cUmzJJAH5tWyCuwyN9Syws2RxqND9pTMs4/Cmry6B5824MGAKrtL2u7YG9PiLZLoTBWs8hVaCJeUFaH");
  if (!response.ok) {
    throw new Error(`Request failed: ${response.status}`);
  }
  const data = await response.json();
  console.log(data);
  ```
</RequestExample>

<ApiResponse errors={{"400": {"error": "<message>"}, "500": {"error": "<message>"}}}>
  <ResponseField name="rows" type="object[]">
    Reward amounts attributed to each indexed accrual interval.

    <Expandable title="child attributes">
      <ResponseField name="rows[].marketId" type="string">
        Campaign identifier associated with this accrual interval.
      </ResponseField>

      <ResponseField name="rows[].intervalStart" type="string">
        ISO 8601 start of the reward accrual interval.
      </ResponseField>

      <ResponseField name="rows[].intervalEnd" type="string">
        ISO 8601 end of the reward accrual interval.
      </ResponseField>

      <ResponseField name="rows[].campaignType" type="'orderbook_quote' | 'yt_holder' | 'tranching_lp_holder'">
        Reward eligibility category, such as orderbook quoting or a tranching position.
      </ResponseField>

      <ResponseField name="rows[].emissionMint" type="string">
        Mint of the token distributed as rewards.
      </ResponseField>

      <ResponseField name="rows[].emissionDecimals" type="number">
        Reward-token decimal places used to convert raw amounts to token units.
      </ResponseField>

      <ResponseField name="rows[].emissionAmountRaw" type="string">
        Rewards attributed to the interval, in raw reward-token units.
      </ResponseField>

      <ResponseField name="rows[].emissionAmountUsd" type="number">
        USD value attributed to the interval’s reward amount.
      </ResponseField>
    </Expandable>
  </ResponseField>
</ApiResponse>

<ResponseExample>
  ```json 200 theme={null}
  {
    "rows": [
      {
        "marketId": "Cmry6B58-EPjFWdd5-5638885d",
        "intervalStart": "2026-10-13T14:18:10.261Z",
        "intervalEnd": "2026-10-13T15:18:10.261Z",
        "campaignType": "yt_holder",
        "emissionMint": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
        "emissionDecimals": 6,
        "emissionAmountRaw": "1919885",
        "emissionAmountUsd": 1.9193985152524022
      },
      {
        "marketId": "8JtnQcPr-EPjFWdd5-e6ec638b",
        "intervalStart": "2026-10-13T14:48:10.106Z",
        "intervalEnd": "2026-10-13T15:03:10.106Z",
        "campaignType": "orderbook_quote",
        "emissionMint": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
        "emissionDecimals": 6,
        "emissionAmountRaw": "135",
        "emissionAmountUsd": 0.0001349657919922674
      }
    ]
  }
  ```

  ```json 400 theme={null}
  {
    "error": "<message>"
  }
  ```

  ```json 500 theme={null}
  {
    "error": "<message>"
  }
  ```
</ResponseExample>


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.