Web3

Get nonce api

POST URL: https://api.metaspace.place/api/user/nonce

Request Body

NameTypeDescription

address*

String

chainId*

String

{
    nonce: 11111111111
}

Verify web3 signed api

POST URL: https://api.metaspace.place/api/user/verifyWeb3Signed

Request Body

NameTypeDescription

address*

String

signature

String

{
    'customToken': 'aaaaaaaaaaaaa'
}

Get NFT list api from user address

GET URL: https://api.metaspace.place/api/nft

Query Parameters

NameTypeDescription

address*

String

chainId

Int

offset

Int

Start index on pagination

limit

Int

Query number

Headers

NameTypeDescription

Authorization

String

Bearer ${userToken}

[
    {
        "id": "432932576",
        "token_id": "102649880530284237642488062358401321584978140892128656647063362686574535901185",
        "originImageUrl": "https://lh3.googleusercontent.com/pV1Mm-01JRP__65hnMiI5MqwAd6__adwb4blcv-3Ttew6lN3Am5CGfijIVW2eYeaepYSeB15XAt-nz0TI5yCU7xeUc4SIElPKfyhsH8",
        "thumbnail": "https://lh3.googleusercontent.com/pV1Mm-01JRP__65hnMiI5MqwAd6__adwb4blcv-3Ttew6lN3Am5CGfijIVW2eYeaepYSeB15XAt-nz0TI5yCU7xeUc4SIElPKfyhsH8=s256",
        "name": "StarSeed: Scorpio 1/8",
        "fileUrl": "https://lh3.googleusercontent.com/pV1Mm-01JRP__65hnMiI5MqwAd6__adwb4blcv-3Ttew6lN3Am5CGfijIVW2eYeaepYSeB15XAt-nz0TI5yCU7xeUc4SIElPKfyhsH8=s1024",
        "description": "SCORPIO DATES: October 23 – November 21\nSYMBOL: The Scorpion\nMODE + ELEMENT: Fixed Water\nRULING PLANET: Mars & Pluto\nHOUSE: Eighth\nMANTRA: I Transform\n"
    }
]

Last updated