{
  "name": "Whalers",
  "chainId": 56,
  "contract": "0x94F4986cCe62334e49fe56745E3e40c236D5BAA0",
  "note": "This file is static. Live data (minted count, per-wallet mints, reveal phase) comes only from the chain: POST any payload below as JSON-RPC to a BNB Chain RPC (chainId 56) and decode the returned ABI words. Do not trust any cached number.",
  "rpc": [
    "https://bsc-dataseed.bnbchain.org",
    "https://bsc-dataseed1.defibit.io",
    "https://bsc-dataseed1.ninicoin.io",
    "https://bsc-rpc.publicnode.com",
    "https://bsc.drpc.org"
  ],
  "calls": {
    "totalMinted()": {
      "selector": "0xa2309ff8",
      "returns": "uint256 minted so far (max 2000)",
      "payload": {
        "jsonrpc": "2.0",
        "id": 1,
        "method": "eth_call",
        "params": [
          {
            "to": "0x94F4986cCe62334e49fe56745E3e40c236D5BAA0",
            "data": "0xa2309ff8"
          },
          "latest"
        ]
      }
    },
    "mintedBy(address)": {
      "selector": "0x3cef28d2",
      "returns": "uint256 number minted by that address (max 5)",
      "data_template": "0x3cef28d2 + the address left-padded to 32 bytes (12 zero bytes, then the 20-byte address, lowercase hex, no 0x)",
      "payload_template": {
        "jsonrpc": "2.0",
        "id": 1,
        "method": "eth_call",
        "params": [
          {
            "to": "0x94F4986cCe62334e49fe56745E3e40c236D5BAA0",
            "data": "0x3cef28d2000000000000000000000000{ADDRESS_40_HEX_NO_0x}"
          },
          "latest"
        ]
      },
      "example_for_payout_address": {
        "address": "0x5ec628f3339B1fEC2e8572a5b307932cC3bCdd1a",
        "payload": {
          "jsonrpc": "2.0",
          "id": 1,
          "method": "eth_call",
          "params": [
            {
              "to": "0x94F4986cCe62334e49fe56745E3e40c236D5BAA0",
              "data": "0x3cef28d20000000000000000000000005ec628f3339b1fec2e8572a5b307932cc3bcdd1a"
            },
            "latest"
          ]
        }
      }
    },
    "revealStatus()": {
      "selector": "0x263e4f5e",
      "returns": "(uint256 phase, uint256 blockNow, uint256 commitBlock, bool canCommit, bool canReveal); phase 0 = minting / not committed, 1 = committed (call reveal() within 256 blocks, about 2 minutes), 2 = commit expired (anyone may re-commit), 3 = revealed",
      "payload": {
        "jsonrpc": "2.0",
        "id": 1,
        "method": "eth_call",
        "params": [
          {
            "to": "0x94F4986cCe62334e49fe56745E3e40c236D5BAA0",
            "data": "0x263e4f5e"
          },
          "latest"
        ]
      }
    }
  },
  "curl_example": "curl -s -X POST https://bsc-dataseed.bnbchain.org -H 'content-type: application/json' -d '{\"jsonrpc\":\"2.0\",\"id\":1,\"method\":\"eth_call\",\"params\":[{\"to\":\"0x94F4986cCe62334e49fe56745E3e40c236D5BAA0\",\"data\":\"0xa2309ff8\"},\"latest\"]}'",
  "links": {
    "mint_json": "https://whalers.pages.dev/mint.json",
    "abi": "https://whalers.pages.dev/abi.json",
    "llms_txt": "https://whalers.pages.dev/llms.txt"
  }
}
