Game 2: NFT BRAWL

API used by Nft Rush

get
Get Quality of next mintable token

https://api.blocklords.io:81/nftrush/quality/:wallet_address
The game Nft Rush allows player to mint token based on CWS that he is spending. The more CWS is spending, the higher the quality of token. The calculation of Quality is centralized. And, this endpoint allows to fetch next mintable token's quality.
Request
Response
Request
Path Parameters
id
optional
string
Wallet Address of the player in HEX format starting with 0x.
Response
200: OK
Quality and it's signature are returned:
{
"quality":1,
"signature":"0xb3960d958db4e178e6fa1e8895fd20b84fc0200523927a2cd8f5ac270549cacf22122f65abb278b3315fb2ddeaca442181f68d8ce2840d4d5f7adaf1b9477ae500"
}
403: Forbidden
Some other problem occured with Database. So access to server might be forbidden for a while
{
"error":"403 too many signatures",
"err_code":403
}
404: Not Found
Quality will be 0, and Signature will be empty string.
{ "message": "Ain't no cake like that."}
500: Internal Server Error
Any internal server error will return anything except JSON. Therefore, player will see:
{
"error":"500 json to string convert error",
"err_code":500
}

‚Äč