Octav - API Documentation
  • Welcome
  • Getting Started
    • API Access
    • Portfolio
    • Wallet
    • Transactions
    • Synchronization
    • Status
    • credits
  • API Models
    • Portfolio
      • AssetByProtocols
      • Chains
      • ProtocolPosition
      • Asset
      • ChainSummary
      • NFTCollection
      • NFTChain
      • NFTAsset
    • Transaction
      • Asset
      • NativeAssetFees
  • Additional Informations
    • Chains supported by Octav
    • Protocol types supported by Octav
    • Transaction type
    • Data freshness
  • Changelog
Powered by GitBook
On this page
  1. API Models
  2. Portfolio

NFTChain

NFTChain is a record of key / chain, ex :

{
  "chains": {
    "ethereum": {
      "name": "Ethereum",
      "key": "ethereum",
      "value": "0",
      "totalCostBasis": "N/A",
      "totalClosedPnl": "N/A",
      "totalOpenPnl": "N/A",
      "assets": [
        {
          "averageClosedPnl": "N/A",
          "balance": "1",
          "balanceClosedPnl": "N/A",
          "category": "ERC721",
          "chain": "ethereum",
          "chainContract": "ethereum:0x57f1887a8bf19b14fc0df6fd9b2acc9af147ea85",
          "contract": "0x57f1887a8bf19b14fc0df6fd9b2acc9af147ea85",
          "costBasis": "0",
          "decimal": "0",
          "name": "mbaril010.eth",
          "openPnl": "N/A",
          "price": "0",
          "tokenId": "6.3497744960286705017099019095945769897192966437114518675941725371725569413179e+76",
          "totalClosedPnl": "N/A",
          "totalCostBasis": "N/A",
          "type": "UNDEFINED",
          "value": "0"
        }
      ]
    }
  }
}

NFTCollection

Field

Type

Description

name

string

The name of the chain.

key

string

The unique key for the chain.

value

string

Total value held on the chain.

totalCostBasis

totalClosedPnl

totalOpenPnl

assets

Array of NFTs held


PreviousNFTCollectionNextNFTAsset

Last updated 27 days ago

[]

N/A
N/A
N/A
NFTAsset