Dunmore

Dune Analytics Integration

Stream payment events to Dune Analytics for on-chain analytics dashboards.

Connect Dunmore to Dune Analytics to stream payment event data into a Dune dataset. Build SQL queries, create dashboards, and combine your x402 payment data with on-chain data.

Setup

  1. Get a Dune API key from dune.com/settings/api
  2. Create a dataset namespace and table in Dune, or use the defaults (dunmore / payment_events)
  3. Add a Dune connector in the Dunmore console or via the API

Data Schema

Each event inserts a row with these columns:

ColumnTypeDescription
event_idtextDunmore event ID
event_typetextEvent type (e.g., payment.settled)
timestamptextISO 8601 timestamp
project_idtextDunmore project ID
amount_rawtextRaw amount in atomic units
amount_usdnumericAmount converted to USD
currencytextCurrency code
networktextCAIP-2 chain ID
endpointtextEndpoint path
payer_wallettextPayer wallet address
seller_wallettextSeller wallet address
tx_hashtextSettlement transaction hash
payment_idtextDunmore payment ID
stagetextFailure stage (if applicable)
error_codetextError code (if applicable)
latency_msnumericSettlement latency in ms

Supported Events

All event types are streamed to Dune. The connector does not filter — it inserts every event for complete analytics coverage.

Configuration

{
  "type": "dune",
  "config": {
    "apiKey": "your-dune-api-key",
    "namespace": "dunmore",
    "table": "payment_events"
  },
  "eventTypes": ["*"]
}
FieldRequiredDefaultDescription
apiKeyYesDune API key
namespaceNodunmoreDune dataset namespace
tableNopayment_eventsDune table name

API Example

curl -X POST https://api.dunmore.xyz/api/projects/{projectId}/connectors \
  -H "Authorization: Bearer {token}" \
  -H "Content-Type: application/json" \
  -d '{
    "type": "dune",
    "config": {
      "apiKey": "YOUR_DUNE_API_KEY",
      "namespace": "dunmore",
      "table": "payment_events"
    },
    "eventTypes": ["*"]
  }'