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

# Ponder indexer

> Query MolQ vault events, account balances, decisions, and ERC-8004 identity through GraphQL.

The production GraphQL endpoint is:

```text theme={null}
https://indexer.molq.site/graphql
```

Ponder indexes:

* Vault deposits, withdrawals, transfers, and account share balances.
* Shield investments, redemptions, rebalances, and profit hardening.
* Agent authorization and decision records.
* ERC-8004 registration and URI updates for agent `112`.

## Query recent decisions

```graphql theme={null}
query RecentDecisions {
	decisions(orderBy: "blockTimestamp", orderDirection: "desc", limit: 10) {
		items {
			decisionId
			agent
			actionType
			amount
			riskScoreBps
			reasonHash
			transactionHash
			blockTimestamp
		}
	}
}
```

## Query a vault account

```graphql theme={null}
query VaultAccount($address: String!) {
	vaultAccount(address: $address) {
		address
		shares
		updatedAt
	}
}
```

## Query the latest allocation snapshot

```graphql theme={null}
query LatestAllocation {
	vaultState(id: "latest") {
		shieldBalance
		alphaBalance
		totalAssets
		blockNumber
		transactionHash
	}
}
```

Historical snapshots are available through `vaultSnapshots`. Each row includes
the event `trigger`, block, transaction hash, and exact vault state read at that
block.

All token amounts are returned as integer base units. USDe and `mqUSDe` use 18
decimals.
