NFTCollection

The nftsByCollection object organizes NFT collections by their key and contains details about chains and assets within those collections. NFTCollection is a record of key / NFTCollection, ex :

{
  "nftsByCollection": {
    "0x57f1887a8bf19b14fc0df6fd9b2acc9af147ea85": {
      "name": "ENS: Ethereum Name Service",
      "key": "0x57f1887a8bf19b14fc0df6fd9b2acc9af147ea85",
      "sellPrice": "0",
      "spotPrice": "0",
      "contract": "0x57f1887a8bf19b14fc0df6fd9b2acc9af147ea85",
      "value": "0",
      "vaultId": "0",
      "vaultAddress": "0",
      "totalCostBasis": "0",
      "totalClosedPnl": "0",
      "totalOpenPnl": "0",
      "chains": {
        "ethereum": {
          "name": "Ethereum",
          "key": "ethereum",
          "value": "0",
          "totalCostBasis": "0",
          "totalClosedPnl": "0",
          "totalOpenPnl": "0",
          "assets": [
            {
              "averageClosedPnl": "0",
              "balance": "1",
              "balanceClosedPnl": "0",
              "category": "ERC721",
              "chain": "ethereum",
              "chainContract": "ethereum:0x57f1887a8bf19b14fc0df6fd9b2acc9af147ea85",
              "contract": "0x57f1887a8bf19b14fc0df6fd9b2acc9af147ea85",
              "costBasis": "0",
              "decimal": "0",
              "name": "mbaril010.eth",
              "openPnl": "0",
              "price": "0",
              "tokenId": "6.3497744960286705017099019095945769897192966437114518675941725371725569413179e+76",
              "totalClosedPnl": "0",
              "totalCostBasis": "0",
              "type": "UNDEFINED",
              "value": "0"
            }
          ]
        }
      }
    }
  }
}

NFTCollection

Field

Type

Description

name

string

The name of the NFT collection.

key

string

The unique key (contract address) for the collection.

imgSmall

string

URL for the small-sized image of the collection.

imgLarge

string

URL for the large-sized image of the collection.

sellPrice

string

Sell price of the NFT collection.

spotPrice

string

Spot price of the NFT collection.

contract

string

Contract address of the collection.

value

string

Total value of the collection.

vaultId

string

Vault ID associated with the collection.

vaultAddress

string

Vault address associated with the collection.

totalCostBasis

string

Total cost basis of the collection

totalClosedPnl

string

Total closed pnl of the collection

totalOpenPnl

string

Total Open pnl of the collection

chains

Chain-specific NFTs details


Last updated