Auth
Auth authenticates the user and checks their PollinationX (PX) storage NFTs.
Authentication
Authenticate user
Query Parameters
Name
Type
Description
{
"success": true, // Indicates whether the request was successful or not.
"nfts": // An array of NFT objects.
[
{
"contract": {
"address": Address of the NFT contract,
},
"id": {
"tokenId": Unique identifier of the NFT,
"tokenMetadata": {
"tokenType": Type of the token
}
},
"balance": Balance of the NFT,
"title": Name of the NFT,
"description": Description of the NFT,
"tokenUri": {
"gateway": Gateway URL for accessing the token URI,
"raw": Raw token URI
},
"media": [
{
"gateway": Gateway URL for accessing the media file,
"thumbnail": URL of the thumbnail image associated with the media,
"raw": Base64 encoded SVG image data,
"format": "svg+xml",
"bytes": media size
}
],
"metadata": {
"name": Name of the NFT metadata,
"description": Description of the NFT metadata,
"image": Base64 encoded SVG image data for the NFT metadata,
"attributes": [
{
"display_type": "boost_percentage", // Display type of the attribute
"value": 3, // Value of the attribute define how much storage is already used
"trait_type": "Usage" // Trait type of the attribute.
},
{
"value": "5GB", // Maximum PX Storage NFT capacity
"trait_type": "Capacity"
}
]
},
"timeLastUpdated": Timestamp indicating the last update time,
"contractMetadata": {
"name": Name of the NFT contract metadata,
"symbol": Symbol of the NFT contract metadata,
"tokenType": Type of the token supported by the contract,
"contractDeployer": Address of the contract deployer,,
"deployedBlockNumber": Block number at which the contract was deployed,
"openSea": {
"lastIngestedAt": Timestamp indicating the last ingestion time by OpenSea.
}
},
"jwt": JWT (JSON Web Token) for authentication purposes,
"endpoint": API endpoint for interacting with the PollinationX.
},
],
"totalCount": Total count of NFTs returned
}Auth URL:
Last updated