# Minter Daily Expenses

> Query the daily expenses of a Minter by address over a given date range.

This query will return the daily expenses of the Minter identified by `address`. The date range starts at `from` until the current time.

```graphql
query MinterExpensesQuery($address: String!, $from: String) {
  MinterExpenses(address: $address, from: $from) {
    amount
    timestamp
    date: timestampAsDate
  }
}
```

## Example

Get the Minter expenses for MXON `0x7F7489582b64ABe46c074A45d758d701c2CA5446` since January 1st, 2025.

variables:

```json
{
  "address": "0x7F7489582b64ABe46c074A45d758d701c2CA5446",
  "from": "01 Jan 2025"
}
```

When `from` is not specified, it defaults to the last 30 days.
