Seascape Network
EN
EN
  • Welcome to Seascape
  • Guides
    • How to use the Scape Store Swapping Feature
    • How to Play Profit Circus
    • Guide to NFT Brawl
    • Guide to Staking Saloon
    • Guide to Scape Forum
    • Guide to Zombie Farm
    • Bridge Your MSCP between MOVR and BSC
    • Guide to join the pCWS Pools and NFT Trading
  • SMARTCONTRACTS
    • Addresses
      • Lighthouse
      • Changelog
    • Installation
    • Seascape NFT (SCAPES)
    • Crowns (CWS) token
  • Game for Developers
    • API Urls
    • Seascape Nft
    • Game 2: NFT BRAWL
      • Leaderboard
    • Game 5: Zombie Farm
      • Glossary
      • Reward categories
      • Option categories
      • API call order
  • Scape Store (Marketplace)
    • Config
    • Nft Swap
    • RPC backend
    • Smartcontract Changelog
  • API changelog
  • Seadex
    • Intro
    • Local deployment
    • Addresses
    • Managing Token
      • Add supported token to Factory
  • Lighthouse (IDO)
    • API
    • Smartcontrontracts
      • Tiers
    • Installation
  • Seascape SDK
    • Intro
    • Installation
    • Features
      • Shared Smartcontract Parameters
        • Configuration Format
        • Seascape CDN Config
        • CdnWrite
          • Truffle Framework
          • Hardhat Framework
          • Non-framework update
        • CDN Read
      • Server Proof
        • Smartcontract Data
        • Proof of Server
Powered by GitBook
On this page
  • Get all time total minted players
  • Get today's total minted players
  • Get day's total minted players
  • Get all time total spent players
  • Get today's total spent players
  • Get day's total spent players

Was this helpful?

  1. Game for Developers
  2. Game 2: NFT BRAWL

Leaderboard

Fetching leaderboard data

Get all time total minted players

GET https://api-test.blocklords.io:81/nftrush/leaderboard/minted/alltime/:session_id

Returns list of wallet addresses, their rewards and positions

Path Parameters

Name
Type
Description

session_id

integer

The game event ID.

[
   [
      "0x08302CF8648A961c607e3e7Bd7B7Ec3230c2A6c5",
      9
   ],
   [
      "0xC6EF8A96F20d50E347eD9a1C84142D02b1EFedc0",
      4
   ],
   ...
]
{
   "error":"403 json to string convert error",
   "err_code":403
}
{
   "error":"500 failed to get list of leaderboard data",
   "err_code":500
}

Get today's total minted players

GET https://api-test.blocklords.io:81/nftrush/leaderboard/minted/today/:session_id

Returns list of wallet address, their rewards and options for today. Today by UTC timezone (GMT+0), London time.

Path Parameters

Name
Type
Description

session_id

integer

Game event id

[
   [
      "0x08302CF8648A961c607e3e7Bd7B7Ec3230c2A6c5",
      9
   ],
   [
      "0xC6EF8A96F20d50E347eD9a1C84142D02b1EFedc0",
      4
   ],
   ...
]
{
   "error":"403 json to string convert error",
   "err_code":403
}
{
   "error":"500 failed to get list of leaderboard data",
   "err_code":500
}

Get day's total minted players

GET https://api-test.blocklords.io:81/nftrush/leaderboard/minted/day/:session_id/:date

Return list of winners for a specific day.

Path Parameters

Name
Type
Description

date

string

Date in format: yyyy-mm-dd

session_id

integer

Game event id

[
   [
      "0x08302CF8648A961c607e3e7Bd7B7Ec3230c2A6c5",
      9
   ],
   [
      "0xC6EF8A96F20d50E347eD9a1C84142D02b1EFedc0",
      4
   ],
   ...
]
{
   "error":"403 json to string convert error",
   "err_code":403
}
{
   "error":"500 failed to get list of leaderboard data",
   "err_code":500
}

Get all time total spent players

GET https://api-test.blocklords.io:81/nftrush/leaderboard/spent/alltime/:session_id

List of players who spent most CWS during the game event

Path Parameters

Name
Type
Description

session_id

integer

Game event ID

[
   [
      "0x08302CF8648A961c607e3e7Bd7B7Ec3230c2A6c5",
      9
   ],
   [
      "0xC6EF8A96F20d50E347eD9a1C84142D02b1EFedc0",
      4
   ],
   ...
]
{
   "error":"403 json to string convert error",
   "err_code":403
}
{
   "error":"500 failed to get list of leaderboard data",
   "err_code":500
}

Get today's total spent players

GET https://api-test.blocklords.io:81/nftrush/leaderboard/spent/today/:session_id

Path Parameters

Name
Type
Description

session_id

integer

Game event id

[
   [
      "0x08302CF8648A961c607e3e7Bd7B7Ec3230c2A6c5",
      9
   ],
   [
      "0xC6EF8A96F20d50E347eD9a1C84142D02b1EFedc0",
      4
   ],
   ...
]
{
   "error":"403 json to string convert error",
   "err_code":403
}
{
   "error":"500 failed to get list of leaderboard data",
   "err_code":500
}

Get day's total spent players

GET https://api-test.blocklords.io:81/nftrush/leaderboard/spent/day/s:ession_id/:date

Return list of players by spent CWS amount for specific date.

Path Parameters

Name
Type
Description

session_id

integer

Game event ID

date

string

Date in calendar in format: yyyy-mm-dd

[
   [
      "0x08302CF8648A961c607e3e7Bd7B7Ec3230c2A6c5",
      9
   ],
   [
      "0xC6EF8A96F20d50E347eD9a1C84142D02b1EFedc0",
      4
   ],
   ...
]
{
   "error":"403 json to string convert error",
   "err_code":403
}
{
   "error":"500 failed to get list of leaderboard data",
   "err_code":500
}
PreviousGame 2: NFT BRAWLNextGame 5: Zombie Farm

Last updated 4 years ago

Was this helpful?