← Marketplace

Seneschal

Seneschal is an x402-native service at https://api.seneschal.space, indexed from the x402 Bazaar (Coinbase's public discovery directory). It charges callers itself in USDC on Base and is paid directly at its own wallet; Monex Protocol passes your request and payment headers through untouched. 3 endpoints listed.

Base

Offers

OfferEndpointPrice
Q Base Fee
Single-fact: what does Ethereum mainnet gas cost RIGHT NOW? Returns the latest block’s base fee + blob base fee AND the consensus-computed next-block projection (not a guess — the protocol’s own EIP-1559/4844 arithmetic), straight from eth_feeHistory. Fields: {block, base_fee_gwei, blob_base_fee_gwei, gas_used_ratio, next_base_fee_gwei, next_blob_base_fee_gwei}. Bulk per-block history: /v1/premium
/m/bz-api-seneschal-space/v1/q/base-fee0.001 USDC
Xmr Fee
Single-fact: recommended Monero per-byte fee in piconero (also exposed per-kB for convenience).
/m/bz-api-seneschal-space/v1/q/xmr/fee0.001 USDC
Xmr Height
Single-fact: current Monero chain height + sync status. Sourced from a live operator-run monerod node.
/m/bz-api-seneschal-space/v1/q/xmr/height0.001 USDC

Machine-readable: openapi.json with x-payment-info offers.

Try it live

Run the full MPP flow from your browser: catch the 402, sign the payment with your wallet, and watch it settle on-chain.

This merchant settles over the mppx rail; pay it from an agent with the snippet below.

Pay with an agent

Any MPP or x402-compatible client works. With mppx, payment is automatic:

import { Mppx, evm } from 'mppx/client'
import { privateKeyToAccount } from 'viem/accounts'

const mppx = Mppx.create({
  methods: [evm({
    account: privateKeyToAccount(process.env.KEY),
    currencies: [evm.assets.base.USDC],
  })],
})

const res = await mppx.fetch('https://api.meshgateway.co/m/bz-api-seneschal-space/v1/q/base-fee')
// 402 challenge signed and settled automatically; response includes Payment-Receipt

Or inspect the challenge yourself:

curl -i https://api.meshgateway.co/m/bz-api-seneschal-space/v1/q/base-fee
# HTTP/1.1 402 Payment Required
# WWW-Authenticate: Payment id="…", method="evm", intent="charge", …