👾NFTs

Obtain the user nfts and allow to play with them!

Blockchain Support

Solana

Ethereum

Polygon

Immutable X

Avalanche

Arbitrum

Sui

🔜

Near

🔜

Wax

🔜

NFT Gating

After importing all NFT collections that the game involves using the Elixir Dashboard, you will be able to use this endpoint, as NFT gating, to obtain all the NFTs that the user owns for these collections.

User NFTs

GET https://kend.elixir.app/sdk/v2/nfts/user

Retrieve an array with the collections and the tokens owned by the given user

Headers

NameTypeDescription

x-api-key*

String

Public Key obtained in the developer dashboard

authorization*

String

Bearer <JWT>

{
    "code": 1,
    "success": true,
    "data": [
        {
            "collectionName": "Chronos Travelers",
            "collection": "chronos-travelers",
            "image": "https://i.seadn.io/gcs/files/681b8b0af65f6ed6e49927b8c3d0d427.png?w=500&auto=format",
            "nfts": [
                {
                    "tokenId": "14",
                    "name": "Traveler",
                    "image": "https://chronospublic.s3.eu-west-2.amazonaws.com/travelers/redgenesis.gif",
                    "attributes": [
                        {
                            "trait_type": "Quantum Power",
                            "value": "321",
                            "display_type": "boost_percentage"
                        },
                        {
                            "trait_type": "Rarity",
                            "value": "Mythic"
                        },
                        {
                            "trait_type": "Strength",
                            "value": "0"
                        },
                        {
                            "trait_type": "Defense",
                            "value": "1"
                        },
                        {
                            "trait_type": "Dexterity",
                            "value": "5"
                        },
                        {
                            "trait_type": "Intelligence",
                            "value": "1"
                        },
                        {
                            "trait_type": "Constitution",
                            "value": "1"
                        },
                        {
                            "trait_type": "Endurance",
                            "value": "1"
                        },
                        {
                            "trait_type": "Soul",
                            "value": "1"
                        },
                        {
                            "trait_type": "Strength Scaling",
                            "value": "88",
                            "display_type": "boost_percentage"
                        },
                        {
                            "trait_type": "Defense Scaling",
                            "value": "95",
                            "display_type": "boost_percentage"
                        },
                        {
                            "trait_type": "Dexterity Scaling",
                            "value": "73",
                            "display_type": "boost_percentage"
                        },
                        {
                            "trait_type": "Intelligence Scaling",
                            "value": "69",
                            "display_type": "boost_percentage"
                        },
                        {
                            "trait_type": "Constitution Scaling",
                            "value": "53",
                            "display_type": "boost_percentage"
                        },
                        {
                            "trait_type": "Endurance Scaling",
                            "value": "55",
                            "display_type": "boost_percentage"
                        },
                        {
                            "trait_type": "Soul Scaling",
                            "value": "53",
                            "display_type": "boost_percentage"
                        },
                        {
                            "trait_type": "Scaling Score",
                            "value": "69",
                            "display_type": "boost_percentage"
                        },
                        {
                            "trait_type": "Starting Level",
                            "value": "10",
                            "display_type": "number"
                        },
                        {
                            "trait_type": "Skill Tree Type",
                            "value": "14",
                            "display_type": "number"
                        }
                    ]
                }
            ]
        }
    ]
}

Last updated