ChainSummary

Chains summary is the summary of the assets and protocols holdings, by chains.

{
  "chains": {
    "arbitrum": {
      "name": "Arbitrum",
      "key": "arbitrum",
      "chainId": "42161",
      "value": "216.023333769675975169",
      "valuePercentile": "0.291349316133329174",
      "totalCostBasis": "299.537484719071978726097456866490096049",
      "totalClosedPnl": "819.18280956225088073002103857046529931529",
      "totalOpenPnl": "-83.514150949396003557097456866490096049",
      "imgSmall": "path-to-img.png"
    },
    "avalanche": {
      "name": "Avalanche",
      "key": "avalanche",
      "chainId": "43114",
      "value": "16.58625743771249472",
      "valuePercentile": "0.022369781436857085",
      "totalCostBasis": "18.2261227201920887577629859377180704982",
      "totalClosedPnl": "-102.18940374531920193410823392587987982617",
      "totalOpenPnl": "-1.6398652824795940377629859377180704982",
      "imgSmall": "path-to-img.png"
    }
  }
}

Typing

Key
Type
Description

name

string

Name of the blockchain network.

key

string

Identifier for the blockchain.

chainId

string

Blockchain network ID.

value

string

Total value of assets on this chain.

valuePercentile

string

Percentile value of the chain.

totalCostBasis

string

Total cost basis for chain-specific assets.

totalClosedPnl

string

Total closed profit and loss for chain-specific assets.

totalOpenPnl

string

Total open profit and loss for chain-specific assets.

imgSmall

string

Url of the protocol image (small) includeImages param must be set to true

imgLarge

string

Url of the protocol image (large) includeImages param must be set to true



Last updated