Skip to content
onelayer.
All tools

Tool detail

Megapot · Check Megapot ticket status and winnings

Looks up prize tier and USDC payout for up to 100 given Megapot ticket IDs via a read-only on-chain query.

Categories: Entertainment

Use when

  • check if a lottery ticket won and how much it pays out
  • look up prize tier for a batch of ticket IDs
  • check results for a specific past drawing by ID

Not for

  • not for purchasing tickets — use the purchase endpoint
  • not scoped to one wallet — checks ticket IDs regardless of owner

Inputs

POST JSON body: ticketIds (integer array, 1-100 items, required); drawingId (integer, optional, defaults to current); also requires an x-api-key header.

Admitted input schema

{
  "type": "object",
  "properties": {
    "drawingId": {
      "type": "integer",
      "minimum": -9007199254740991,
      "maximum": 9007199254740991,
      "description": "Drawing ID to check against. Defaults to current drawing if omitted."
    },
    "ticketIds": {
      "type": "array",
      "items": {
        "type": "integer",
        "minimum": -9007199254740991,
        "maximum": 9007199254740991
      },
      "minItems": 1,
      "maxItems": 100,
      "description": "Array of ticket IDs to check"
    }
  },
  "required": [
    "ticketIds"
  ],
  "additionalProperties": false
}

Endpoint

Method
POST
URL
https://megapot.mpp.paysponge.com/status

Payment

Protocol
MPP
Listed price
0 USDC (free) per call on tempo:mainnet
Payment method
tempo
Network
tempo:mainnet
Asset
0x20c000000000000000000000b9537d11c60e8b50

Listed terms are catalog metadata. The caller supplies inputs and calls the tool outside Onelayer. If payment is required, the caller uses a compatible wallet to pay.

Source

Directory
MPP directory
Record
megapot POST /status
Retrieved
2026-09-30T20:37:07.382Z
Catalog file SHA-256
6837ccddf886f0007cf3727ea9d27faaa5047b51b4f425345c554ce1c271a524
Catalog built
2026-09-30T22:31:58.034Z