Bearer authentication
Session tokens authorize funded execution without linking the user to a public EVM wallet.
MONERO AI / DEVELOPERS
Create XMR-funded sessions, route paid inference, verify receipts and expose only the payment evidence your application actually needs.
Session tokens authorize funded execution without linking the user to a public EVM wallet.
Every paid run records digests, selected route, exact charge and settlement reference.
Strict schemas limit prompts, branches, output tokens and maximum bounty budgets.
HTTP API
/api/xmr/statusRead wallet RPC, XMR oracle and Robinhood paymaster health before accepting a funded run.
/api/xmr/sessionsReturns a bearer credential and unique Monero subaddress. Keep the token in the client.
/api/xmr/sessions/:id/runAuthorize with the session bearer token and submit a resource ID plus an OpenAI-compatible messages payload.
/api/xmr/bountiesFund two to four independent model branches and a separate verification route from one XMR session.
/api/xmr/proofs/verifyValidate a Monero transaction proof without publishing the complete payment graph.
SESSION CREATION
The API returns the public session state and a secret bearer token. Store the token only in the client that will run inference.
const response = await fetch("/api/xmr/sessions", {
method: "POST"
});
const { session, token } = await response.json();
// Fund session.subaddress with native XMR.