Skill flagged — review recommended

ClawHub Security found sensitive or high-impact capabilities. Review the scan results before using.

x402 Lotto

v1.0.3

Access lottery data and services via x402 payment protocol, including listing lotteries, fetching jackpots, purchasing tickets, and checking results.

0· 139· 4 versions· 0 current· 0 all-time· Updated 8h ago· MIT-0

Install

openclaw skills install x402-lotto

x402 Lotto

API client for x402.lotto — lottery services via the x402 payment protocol.

Endpoints

EndpointMethodDescription
/api/lotteriesGETList lotteries
/api/jackpot/:nameGETCurrent jackpot
/api/ticketsPOSTPurchase ticket
/api/tickets/:idGETTicket status
/api/results/:nameGETDraw results

Usage

import { wrapFetchWithPayment, decryptKey } from '@x402/evm';

const wallet = decryptKey(process.env.KEY);
const fetch = wrapFetchWithPayment(wallet);

const res = await fetch('https://x402.lotto/api/jackpot/eurojackpot');

Payment

Uses x402 protocol — EIP-712 off-chain signing, no gas fees. USDC on Base (8453).

Install

clawhub install x402-lotto

Version tags

latestvk97ewc0b10mrwsqva2fdw30k2583kdh3