Protocol
The Protocol API allows you to easily get protocol information.
Last updated
The Protocol API allows you to easily get protocol information.
Last updated
get
/v1/protocol
id
: required, eg: bsc_pancakeswap
, curve
, uniswap
, .
Object
- An object with following fields:
id
: string
- The protocol's id.
chain
: string
- The chain's id.
name
: string
- The protocol's name. null
if not defined in the contract and not available from other sources.
logo_url
: string
- URL of the protocol's logo image. null
if not available.
site_url
: string
- prioritize websites that can be interacted with, not official websites.
has_supported_portfolio
: boolean
- Is the portfolio already supported.
tvl
: integer
- User deposit value in this protocol.
Request
Result
get
/v1/protocol/list
Array
of Object
- An object with following fields:
id
: string
- The protocol's id.
chain
: string
- The chain's id.
name
: string
- The protocol's name. null
if not defined in the contract and not available from other sources.
logo_url
: string
- URL of the protocol's logo image. null
if not available.
site_url
: string
- prioritize websites that can be interacted with, not official websites.
has_supported_portfolio
: boolean
- Is the portfolio already supported.
tvl
: integer
- User deposit value in this protocol.
Request
Result
get
/v1/protocol/all_list
Array
of Object
- An object with following fields:
id
: string
- The protocol's id.
chain
: string
- The chain's id.
name
: string
- The protocol's name. null
if not defined in the contract and not available from other sources.
logo_url
: string
- URL of the protocol's logo image. null
if not available.
site_url
: string
- prioritize websites that can be interacted with, not official websites.
has_supported_portfolio
: boolean
- Is the portfolio already supported.
tvl
: integer
- User deposit value in this protocol.
Request
Result
get
/v1/protocol/top_holders
id
: string
required, protocol id
start
: integer
offset, default is 0, max is 1000.
limit
: integer
limit size, default is 100, max is 100.
Array
of address with usd value.
Request
Result
chain_id
: required, chain id, eg: eth
, bsc
, xdai
, .
chain_ids
: optional, list of chain id, eg: eth, bsc, xdai, .