⚙
Protocols
The Protocols API returns all tokens held by the wallet address, plus the associated positions for each protocol. The naming convention are defined by each protocol and may not be comparable across protocols.
The protocols are specific to each chain and is a required parameter.
get
https://query.nansen.ai/api/portfolio
/protocols/{chain}/{address}
Return All Protocol Positions for A Chain
This end point returns position for a specific protocol and address. These end points will be significantly more performant than the All Protocols end point.
get
https://query.nansen.ai/api/portfolio
/{protocolChain}/{address}
Return Position for A Specific Protocol + Chain
In addition to Ethereum, we also support the following chains. To retrieve the value for a chain, choose from one of the following:
Supported Chains | Supported Chains | Chain |
---|---|---|
ARBITRUM | AURORA | AVAX |
BSC | CRONOS | ETHEREUM |
FANTOM | MOONBEAM | MOONRIVER |
OPTIMISM | POLYGON | SOLANA |
The list of supported protocols are available in the reference section:
Last modified 7d ago