The key of the record is the uniq key of the protocol. If you have multiple positions on 1 protocol (can be multichain), all these positions will be nested on the protocol position.
Note: The protocol with the key 'WALLET' represents the assets held within the wallet for the specified address. wallet is considered a protocol within the assetByProtocols structure.
Typing
Key
Type
Description
name
string
Name of the protocol.
key
string
Protocol identifier key.
value
string
Total value of assets in the protocol.
totalCostBasis
string
Total cost basis of protocol assets.
totalClosedPnl
string
Total closed profit and loss for protocol.
totalOpenPnl
string
Total open profit and loss for protocol.
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