Blockin.ai OpenAPI
  • Welcome
  • 🥳GETTING STARTED
    • 🗝️Creating an Account
    • 👀Product Overview
  • 😈REFERENCE
    • 🐙API Reference
      • Chain
        • Query available chain list
      • Protocol
        • Query available protocol
        • Query available protocol list
        • Query all available protocol list
        • Query available tagInfo list
        • Query available protocol detail
        • Query available protocol detail list
        • Query all available protocol detail list
        • Query liquidity change list by chain name and pool address
        • Query swap list by chain name and pool address
      • User
        • Query used chain by user address
        • Query chain balance by chain name and user address
        • Query protocol portfolio list by chain name and user address
        • Query protocol portfolios on all chains by user address
        • Query protocol portfolio by chain name, protocol name and user address
        • Query protocol portfolios on all chains by protocol name and user address
        • Query protocol top holders by chain name and protocol name
        • Query simple protocol list by chain name and user address
        • Query simple protocol list on all chains by user address
        • Query token list by chain name and user address
        • Query token list on all chains by user address
        • Query token top holders by chain name and token address
        • Query collections by chain name and user address
        • Query collections on all chains by user address
        • Query collections on Bitcoin by user address
        • Query items by chain name, collection address and user address
        • Query inscriptions on Bitcoin by user address
        • Query items transfer list by chain name and user address
        • Query history list by chain name and user address
        • Query all history list by user address
        • Query User history - Advanced edition
        • Query total balance on all supported chains by user address
        • Query token authorized list by chain name and user address
        • Query nft authorized list by chain name and user address
        • Query 24-hour net assets curve by chain name and user address
        • Query 24-hour net assets curve on all supported chains by user address
        • Query 24-hour protocol portfolios curve by chain name and user address
        • Query 24-hour protocol portfolios curve on all supported chains by user address
        • Query 24-hour wallet curve by chain name and user address
        • Query 24-hour wallet curve on all supported chains by user address
      • Token
        • Query token info
        • Query token info list
        • Query token market info list
        • Subscribe to token kline data
        • Unsubscribe token kline
        • Query pool list by chain name and token address
        • Query liquidity change list by chain name and token address
        • Query swap list by chain name and token address
        • Query real-time exchange rate
        • Query real-time token price
        • Query LP_token info
        • Query symbol's price from foreign exchange
      • NFT
        • Query collection metadata by chain name and collection address
        • Query collection trade list by chain name and collection address
        • Query item info list by chain name and collection address
        • Query item metadata by chain name, collection address and item id
        • Refresh collection metadata
        • Query inscriptions metadata on Bitcoin by inscriptions id
      • Mirror
        • Query historical token list
        • Query historical protocol portfolios
        • Query historical assets
        • Query historical token list on all supported chains
        • Query historical protocol portfolios on all supported chains
        • Query historical assets on all supported chains
        • Query historical LP_token info
      • Subscription
        • Create history subscription
        • Update history subscription
        • Delete history subscription
        • History subscription query
        • Socket Subscription Connection
        • Subscription notify
        • Alter history subscription
        • History subscription- Query Batch_no List
        • Create history subscription V2
        • Delete history subscription V2
        • Query history subscription wallet V2
        • Query history subscription detail V2
        • History subscription Message query V2
        • Socket Subscription Connection V2
    • 📜Enumeration
    • 🎭Error Code
      • Pre exec error code
    • 🍪Related Features
      • Usage
    • ⌨️Change Log
    • 😎Terms of Service
Powered by GitBook
On this page
  • Description
  • Request Header
  • Request Parameters
  • Response
  • Public Response
  • Response Content
  • Portfolio Content
  • BasePortfolioDetail Response Content
  • ProxyDetail Response Content
  • BaseTokenInfo Response Content
  • VestingToken Response Content
  • RiskIndicator Response Content
  • Request Sample
  • Successful Response Sample
  • Failed Response Sample
  1. REFERENCE
  2. API Reference
  3. User

Query protocol portfolios on all chains by user address

Description

  • Method: HTTPS GET

  • Encoding: UTF-8

  • Path: https://api.blockin.ai/v2/user/all_protocol_list

  • Description: Query protocol portfolios on all chains by user address

Request Header

Parameter
Required
Type
Description

Content-Type

Y

String

application/json

AccessKey

Y

String

1bdb01c947c54919b64d1fc6794atest

Request Parameters

Parameter
Required
Type
Description

chain_names

N

String

address

Y

String

User's address

Response

Public Response

Parameter
Required
Type
Description

success

Y

Boolean

Success Boolean

data

N

List

Response object

error_code

N

String

Error code

error_msg

N

String

Error message

Response Content

Parameter
Required
Type
Description

chain_name

Y

String

Chain's name

protocol_name

Y

String

Protocol's name

project_name

Y

String

Project's name

site_url

Y

String

Website URL

logo_url

Y

String

URL of the protocol's logo image.

portfolio_item_list

Y

List<Portfolio>

The list of portfolio

update_at

Y

BigInteger

Update time

Portfolio Content

Parameter
Required
Type
Description

pool_type

Y

String

Pool's type

pool_address

Y

String

Pool's address

detail

Y

BasePortfolioDetail

Portfolio detail

proxy_detail

N

ProxyDetail

If the field is not empty, the portfolio_item is a position for the user's agency contract account

BasePortfolioDetail Response Content

Parameter
Required
Type
Description

supply_token_list

N

List<BaseTokenInfo>

Deposit token

borrow_token_list

N

List<BaseTokenInfo>

Borrowing token

reward_token_list

N

List<BaseTokenInfo>

Reward token

debt_ratio

N

BigDecimal

Debt ratio

health_rate

N

BigDecimal

Health factor

position_index

N

String

Unique position id of the user in this pool

description

N

String

Description

daily_unlock_amount

N

BigDecimal

The number of releases per day

end_at

N

BigInteger

Release completion time

token

N

VestingToken

Release token

unlock_at

N

BigInteger

Unlock time

risk_indicator

N

RiskIndicator

Risk indicators(Only V3 has a value currently)

ProxyDetail Response Content

Parameter
Required
Type
Description

proxy_contract_address

Y

String

Proxy protocol’s address

protocol

Y

ProtocolResp

Protocol info

BaseTokenInfo Response Content

Parameter
Required
Type
Description

address

Y

String

Token's address

symbol

Y

String

Token's symbol

decimal

Y

Integer

Number of decimals of the token

price

Y

BigDecimal

Token's price

amount

Y

BigDecimal

Token's amount

logo_url

Y

String

URL of the token's logo image.

nft_symbol

Y

String

NFT's symbol

nft_address

Y

String

Contract address

nft_token_id

Y

String

NFT's item id

nft_logo_url

Y

String

NFT's logo url

nft_item_image_url

Y

String

NFT's item image url

nft_amount

Y

BigInteger

NFT's amount

nft_price

Y

BigDecimal

NFT's price

VestingToken Response Content

Parameter
Required
Type
Description

address

Y

String

Token's address

symbol

Y

String

Token's symbol

decimal

Y

Integer

Number of decimals of the token

price

Y

BigDecimal

Token's price

amount

Y

BigDecimal

Token's amount

claimable_amount

Y

BigDecimal

Number you can withdraw of the rewards

logo_url

Y

String

URL of the token's logo image.

RiskIndicator Response Content

Parameter
Required
Type
Description

il

Y

BigDecimal

Impermanent loss

pnl

Y

BigDecimal

Profit and loss

apr

Y

BigDecimal

Annual Percentage Rate

net_apr

Y

BigDecimal

Net Annual Percentage Rate

delta

Y

BigDecimal

Delta

add_time

Y

BigInteger

Time of creating a position

Request Sample

curl -H "Content-Type:application/json" -H "AccessKey:1bdb01c947c54919b64d1fc6794atest" -X GET "https://api.blockin.ai/v2/user/all_protocol_list?chain_names=bsc,pol&address=0xb8adcc8e382a7c43bdfa2e1c47059a1afec10e06"

Successful Response Sample

{
	"success": true,
	"data": [
		{
			"protocol_name": "ankr",
			"chain_name": "BSC",
			"chain_logo_url": "https://www.blockin.ai/image/chain/56.png",
			"project_name": "Ankr",
			"site_url": "https://www.ankr.com/staking/dashboard/",
			"logo_url": "https://www.blockin.ai/image/protocol/ankr.png",
			"portfolio_item_list": [
				{
					"detail": {
						"supply_token_list": [
							{
								"address": "0xbb1aa6e59e5163d8722a122cd66eba614b59df0d",
								"symbol": "aBNBb",
								"decimal": 18,
								"price": 4.930493e-12,
								"amount": 0.000005145200605025,
								"logo_url": "https://www.blockin.ai/image/bsc/token/0xbb1aa6e59e5163d8722a122cd66eba614b59df0d.png"
							}
						]
					},
					"pool_type": "Staked",
					"pool_address": "0xbb1aa6e59e5163d8722a122cd66eba614b59df0d"
				}
			],
			"update_at": 1687263269
		},
		{
			"protocol_name": "blur",
			"chain_name": "Ethereum",
			"chain_logo_url": "https://www.blockin.ai/image/chain/1.png",
			"project_name": "Blur",
			"site_url": "https://blur.io",
			"logo_url": "https://www.blockin.ai/image/protocol/blur.png",
			"platform_token_address": "0x5283d291dbcf85356a21ba090e6db59121208b44",
			"portfolio_item_list": [
				{
					"detail": {
						"supply_token_list": [
							{
								"address": "ETH",
								"symbol": "ETH",
								"decimal": 18,
								"price": 1733.42,
								"amount": 2.204652634235999303,
								"logo_url": "https://www.blockin.ai/image/token/ETH.png"
							}
						]
					},
					"pool_type": "Deposit",
					"pool_address": "0x0000000000a39bb272e79075ade125fd351887ac"
				}
			],
			"update_at": 1687263270
		},
		{
			"protocol_name": "sandbox",
			"chain_name": "Polygon",
			"chain_logo_url": "https://www.blockin.ai/image/chain/137.png",
			"project_name": "The Sandbox",
			"site_url": "https://www.sandbox.game",
			"logo_url": "https://www.blockin.ai/image/protocol/sandbox.png",
			"platform_token_address": "0xbbba073c31bf03b8acf7c28ef0738decf3695683",
			"portfolio_item_list": [
				{
					"detail": {
						"supply_token_list": [
							{
								"address": "0xbbba073c31bf03b8acf7c28ef0738decf3695683",
								"symbol": "SAND",
								"decimal": 18,
								"price": 0.38412,
								"amount": 1006835.302486281243668962,
								"logo_url": "https://www.blockin.ai/image/polygon/token/0xbbba073c31bf03b8acf7c28ef0738decf3695683.png"
							}
						],
						"reward_token_list": [
							{
								"address": "0xbbba073c31bf03b8acf7c28ef0738decf3695683",
								"symbol": "SAND",
								"decimal": 18,
								"price": 0.38412,
								"amount": 1397.820750871505448236,
								"logo_url": "https://www.blockin.ai/image/polygon/token/0xbbba073c31bf03b8acf7c28ef0738decf3695683.png"
							}
						]
					},
					"pool_type": "Staked",
					"pool_address": "0xd3a9caa25393765c05ce9f332b5e33b5e33d8b8f"
				}
			],
			"update_at": 1687263271
		},
		{
			"protocol_name": "burgerswap",
			"chain_name": "BSC",
			"chain_logo_url": "https://www.blockin.ai/image/chain/56.png",
			"project_name": "BurgerSwap",
			"site_url": "https://burgerswap.org",
			"logo_url": "https://www.blockin.ai/image/protocol/burgerswap.png",
			"platform_token_address": "0xae9269f27437f0fcbc232d39ec814844a51d6b8f",
			"portfolio_item_list": [
				{
					"detail": {
						"supply_token_list": [
							{
								"address": "0x4b5d132e902f792e2f8327a3d4062e3edd79f640",
								"symbol": "cBURGER",
								"decimal": 18,
								"price": null,
								"amount": 13418.874629961938097369,
								"logo_url": "https://www.blockin.ai/image/bsc/token/0x4b5d132e902f792e2f8327a3d4062e3edd79f640.png"
							}
						],
						"reward_token_list": [
							{
								"address": "0xae9269f27437f0fcbc232d39ec814844a51d6b8f",
								"symbol": "BURGER",
								"decimal": 18,
								"price": 0.355867,
								"amount": 3056.257414708101689457,
								"logo_url": "https://www.blockin.ai/image/bsc/token/0xae9269f27437f0fcbc232d39ec814844a51d6b8f.png"
							}
						]
					},
					"pool_type": "Staked",
					"pool_address": "0xee0cfacca812f5bf696f638501cac35334977241"
				}
			],
			"update_at": 1687263271
		},
		{
			"protocol_name": "moonpot",
			"chain_name": "BSC",
			"chain_logo_url": "https://www.blockin.ai/image/chain/56.png",
			"project_name": "Moonpot",
			"site_url": "https://play.moonpot.com",
			"logo_url": "https://www.blockin.ai/image/protocol/moonpot.png",
			"platform_token_address": "0x3fcca8648651e5b974dd6d3e50f61567779772a8",
			"portfolio_item_list": [
				{
					"detail": {
						"supply_token_list": [
							{
								"address": "0x0e09fabb73bd3ade0a17ecc321fd13a19e81ce82",
								"symbol": "Cake",
								"decimal": 18,
								"price": 1.38,
								"amount": 3365.020170553265482726,
								"logo_url": "https://www.blockin.ai/image/bsc/token/0x0e09fabb73bd3ade0a17ecc321fd13a19e81ce82.png"
							}
						],
						"reward_token_list": [
							{
								"address": "0x3fcca8648651e5b974dd6d3e50f61567779772a8",
								"symbol": "POTS",
								"decimal": 18,
								"price": 0.00248744,
								"amount": 334.729643649438106284,
								"logo_url": "https://www.blockin.ai/image/bsc/token/0x3fcca8648651e5b974dd6d3e50f61567779772a8.png"
							}
						]
					},
					"pool_type": "Farming",
					"pool_address": "0xa5febeb2ffaec64d3cee5e24829934f8dc3bdc28"
				},
				{
					"detail": {
						"supply_token_list": [
							{
								"address": "0x603c7f932ed1fc6575303d8fb018fdcbb0f39a95",
								"symbol": "BANANA",
								"decimal": 18,
								"price": 0.01963212,
								"amount": 13875.022244415352011327,
								"logo_url": "https://www.blockin.ai/image/bsc/token/0x603c7f932ed1fc6575303d8fb018fdcbb0f39a95.png"
							}
						]
					},
					"pool_type": "Farming",
					"pool_address": "0x2c85a6aa1974230d3e91ba32956271e5a11b0392"
				}
			],
			"update_at": 1687263272
		},
		{
			"protocol_name": "cafeswap",
			"chain_name": "BSC",
			"chain_logo_url": "https://www.blockin.ai/image/chain/56.png",
			"project_name": "CafeSwap",
			"site_url": "https://cafeswap.finance",
			"logo_url": "https://www.blockin.ai/image/protocol/cafeswap.png",
			"platform_token_address": "0x790be81c3ca0e53974be2688cdb954732c9862e1",
			"portfolio_item_list": [
				{
					"detail": {
						"supply_token_list": [
							{
								"address": "0x790be81c3ca0e53974be2688cdb954732c9862e1",
								"symbol": "BREW",
								"decimal": 18,
								"price": 0.00399826,
								"amount": 383466.906097355695550206,
								"logo_url": "https://www.blockin.ai/image/bsc/token/0x790be81c3ca0e53974be2688cdb954732c9862e1.png"
							}
						],
						"reward_token_list": [
							{
								"address": "0x790be81c3ca0e53974be2688cdb954732c9862e1",
								"symbol": "BREW",
								"decimal": 18,
								"price": 0.00399826,
								"amount": 107965.561112497779699038,
								"logo_url": "https://www.blockin.ai/image/bsc/token/0x790be81c3ca0e53974be2688cdb954732c9862e1.png"
							}
						]
					},
					"pool_type": "Farming",
					"pool_address": "0xc772955c33088a97d56d0bbf473d05267bc4febb",
					"pool_index": "0"
				},
				{
					"detail": {
						"supply_token_list": [
							{
								"address": "0x790be81c3ca0e53974be2688cdb954732c9862e1",
								"symbol": "BREW",
								"decimal": 18,
								"price": 0.00399826,
								"amount": 466524.92832754638025449248330468964278,
								"logo_url": "https://www.blockin.ai/image/bsc/token/0x790be81c3ca0e53974be2688cdb954732c9862e1.png"
							},
							{
								"address": "BNB",
								"symbol": "BNB",
								"decimal": 18,
								"price": 246.5,
								"amount": 2.9603647344001433053678357625356119624,
								"logo_url": "https://www.blockin.ai/image/bsc/token/BNB.png"
							}
						],
						"reward_token_list": [
							{
								"address": "0x790be81c3ca0e53974be2688cdb954732c9862e1",
								"symbol": "BREW",
								"decimal": 18,
								"price": 0.00399826,
								"amount": 304785.070415419840827174,
								"logo_url": "https://www.blockin.ai/image/bsc/token/0x790be81c3ca0e53974be2688cdb954732c9862e1.png"
							}
						]
					},
					"pool_type": "Farming",
					"pool_address": "0xc772955c33088a97d56d0bbf473d05267bc4febb",
					"pool_index": "14"
				},
				{
					"detail": {
						"supply_token_list": [
							{
								"address": "0x0e09fabb73bd3ade0a17ecc321fd13a19e81ce82",
								"symbol": "Cake",
								"decimal": 18,
								"price": 1.38,
								"amount": 285.394545418907689653837704750786369808,
								"logo_url": "https://www.blockin.ai/image/bsc/token/0x0e09fabb73bd3ade0a17ecc321fd13a19e81ce82.png"
							},
							{
								"address": "0x790be81c3ca0e53974be2688cdb954732c9862e1",
								"symbol": "BREW",
								"decimal": 18,
								"price": 0.00399826,
								"amount": 259095.7904687170332452022228809593538,
								"logo_url": "https://www.blockin.ai/image/bsc/token/0x790be81c3ca0e53974be2688cdb954732c9862e1.png"
							}
						],
						"reward_token_list": [
							{
								"address": "0x790be81c3ca0e53974be2688cdb954732c9862e1",
								"symbol": "BREW",
								"decimal": 18,
								"price": 0.00399826,
								"amount": 478692.064972810403492991,
								"logo_url": "https://www.blockin.ai/image/bsc/token/0x790be81c3ca0e53974be2688cdb954732c9862e1.png"
							}
						]
					},
					"pool_type": "Farming",
					"pool_address": "0xc772955c33088a97d56d0bbf473d05267bc4febb",
					"pool_index": "16"
				},
				{
					"detail": {
						"supply_token_list": [
							{
								"address": "0xb0611177bb3ce464c512d84bfab0b9b33b01f534",
								"symbol": "MOCHA",
								"decimal": 18,
								"price": 0.013422784427661661,
								"amount": 3762.539185021610321,
								"logo_url": "https://www.blockin.ai/image/bsc/token/0xb0611177bb3ce464c512d84bfab0b9b33b01f534.png"
							}
						],
						"reward_token_list": [
							{
								"address": "0xb0611177bb3ce464c512d84bfab0b9b33b01f534",
								"symbol": "MOCHA",
								"decimal": 18,
								"price": 0.013422784427661661,
								"amount": 1357.182150072371486638,
								"logo_url": "https://www.blockin.ai/image/bsc/token/0xb0611177bb3ce464c512d84bfab0b9b33b01f534.png"
							}
						]
					},
					"pool_type": "Farming",
					"pool_address": "0x16e29c4f456df22ad61fa8cb8fcb619786c21ff1",
					"pool_index": "0"
				}
			],
			"update_at": 1687263272
		},
		{
			"protocol_name": "julswap",
			"chain_name": "BSC",
			"chain_logo_url": "https://www.blockin.ai/image/chain/56.png",
			"project_name": "JulSwap",
			"site_url": "https://julswap.com",
			"logo_url": "https://www.blockin.ai/image/protocol/julswap.png",
			"platform_token_address": "0x5a41f637c3f7553dba6ddc2d3ca92641096577ea",
			"portfolio_item_list": [
				{
					"detail": {
						"supply_token_list": [
							{
								"address": "0x5a41f637c3f7553dba6ddc2d3ca92641096577ea",
								"symbol": "JulD",
								"decimal": 18,
								"price": 0.00131901,
								"amount": 0,
								"logo_url": "https://www.blockin.ai/image/bsc/token/0x5a41f637c3f7553dba6ddc2d3ca92641096577ea.png"
							},
							{
								"address": "0xe9e7cea3dedca5984780bafc599bd69add087d56",
								"symbol": "BUSD",
								"decimal": 18,
								"price": 0.9857227465359221,
								"amount": 0,
								"logo_url": "https://www.blockin.ai/image/bsc/token/0xe9e7cea3dedca5984780bafc599bd69add087d56.png"
							}
						],
						"reward_token_list": [
							{
								"address": "0x5a41f637c3f7553dba6ddc2d3ca92641096577ea",
								"symbol": "JulD",
								"decimal": 18,
								"price": 0.00131901,
								"amount": 10.074017193308074802,
								"logo_url": "https://www.blockin.ai/image/bsc/token/0x5a41f637c3f7553dba6ddc2d3ca92641096577ea.png"
							}
						]
					},
					"pool_type": "Farming",
					"pool_address": "0x95fbad16d57aceb172ad659a8c34df32385b0445"
				}
			],
			"update_at": 1687263273
		},
		{
			"protocol_name": "apeswap",
			"chain_name": "BSC",
			"chain_logo_url": "https://www.blockin.ai/image/chain/56.png",
			"project_name": "ApeSwap",
			"site_url": "https://apeswap.finance",
			"logo_url": "https://www.blockin.ai/image/protocol/apeswap.png",
			"platform_token_address": "0x603c7f932ed1fc6575303d8fb018fdcbb0f39a95",
			"portfolio_item_list": [
				{
					"detail": {
						"supply_token_list": [
							{
								"address": "0x603c7f932ed1fc6575303d8fb018fdcbb0f39a95",
								"symbol": "BANANA",
								"decimal": 18,
								"price": 0.01963212,
								"amount": 19878.204424963834309662,
								"logo_url": "https://www.blockin.ai/image/bsc/token/0x603c7f932ed1fc6575303d8fb018fdcbb0f39a95.png"
							}
						],
						"reward_token_list": [
							{
								"address": "0x603c7f932ed1fc6575303d8fb018fdcbb0f39a95",
								"symbol": "BANANA",
								"decimal": 18,
								"price": 0.01963212,
								"amount": 1655.115171018243051524,
								"logo_url": "https://www.blockin.ai/image/bsc/token/0x603c7f932ed1fc6575303d8fb018fdcbb0f39a95.png"
							}
						]
					},
					"pool_type": "Farming",
					"pool_address": "0x5c8d727b265dbafaba67e050f2f739caeeb4a6f9",
					"pool_index": "0"
				},
				{
					"detail": {
						"supply_token_list": [
							{
								"address": "0x603c7f932ed1fc6575303d8fb018fdcbb0f39a95",
								"symbol": "BANANA",
								"decimal": 18,
								"price": 0.01963212,
								"amount": 105609.750631262957582198,
								"logo_url": "https://www.blockin.ai/image/bsc/token/0x603c7f932ed1fc6575303d8fb018fdcbb0f39a95.png"
							}
						],
						"reward_token_list": [
							{
								"address": "0xcaf5191fc480f43e4df80106c7695eca56e48b18",
								"symbol": "DEP",
								"decimal": 18,
								"price": 0.00170741,
								"amount": 0,
								"logo_url": "https://www.blockin.ai/image/bsc/token/0xcaf5191fc480f43e4df80106c7695eca56e48b18.png"
							}
						]
					},
					"pool_type": "Staked",
					"pool_address": "0xdbb5df464f245d3b62b5fea995580f837f87fc12"
				},
				{
					"detail": {
						"supply_token_list": [
							{
								"address": "0xddb3bd8645775f59496c821e4f55a7ea6a6dc299",
								"symbol": "GNANA",
								"decimal": 18,
								"price": 0.024564228331554854,
								"amount": 21143.108703385199423548,
								"logo_url": "https://www.blockin.ai/image/bsc/token/0xddb3bd8645775f59496c821e4f55a7ea6a6dc299.png"
							}
						],
						"reward_token_list": [
							{
								"address": "0x603c7f932ed1fc6575303d8fb018fdcbb0f39a95",
								"symbol": "BANANA",
								"decimal": 18,
								"price": 0.01963212,
								"amount": 8600.289269991471206314,
								"logo_url": "https://www.blockin.ai/image/bsc/token/0x603c7f932ed1fc6575303d8fb018fdcbb0f39a95.png"
							}
						]
					},
					"pool_type": "Staked",
					"pool_address": "0x8f97b2e6559084cfaba140e2ab4da9aaf23fe7f8"
				}
			],
			"update_at": 1687263274
		},
		{
			"protocol_name": "pancakeswap",
			"chain_name": "BSC",
			"chain_logo_url": "https://www.blockin.ai/image/chain/56.png",
			"project_name": "PancakeSwap ",
			"site_url": "https://pancakeswap.finance/",
			"logo_url": "https://www.blockin.ai/image/protocol/pancakeswap.png",
			"platform_token_address": "0x0e09fabb73bd3ade0a17ecc321fd13a19e81ce82",
			"portfolio_item_list": [
				{
					"detail": {
						"supply_token_list": [
							{
								"address": "0xd74b782e05aa25c50e7330af541d46e18f36661c",
								"symbol": "QUACK",
								"decimal": 9,
								"price": 6.78868e-10,
								"amount": 52131200588541.612202092241594383845982,
								"logo_url": "https://www.blockin.ai/image/bsc/token/0xd74b782e05aa25c50e7330af541d46e18f36661c.png"
							},
							{
								"address": "BNB",
								"symbol": "BNB",
								"decimal": 18,
								"price": 246.5,
								"amount": 150.92525564640423201291864052884004806,
								"logo_url": "https://www.blockin.ai/image/bsc/token/BNB.png"
							}
						]
					},
					"pool_type": "Liquidity Pool",
					"pool_address": "0x2681d05c2de74a3ddf40e608d063495db32cfce4"
				},
				{
					"detail": {
						"supply_token_list": [
							{
								"address": "BNB",
								"symbol": "BNB",
								"decimal": 18,
								"price": 246.5,
								"amount": 3.604805057258428222477259166728,
								"logo_url": "https://www.blockin.ai/image/bsc/token/BNB.png"
							},
							{
								"address": "0xb27adaffb9fea1801459a1a81b17218288c097cc",
								"symbol": "POOCOIN",
								"decimal": 8,
								"price": 0.205105,
								"amount": 4229.89022925375144326916515176,
								"logo_url": "https://www.blockin.ai/image/bsc/token/0xb27adaffb9fea1801459a1a81b17218288c097cc.png"
							}
						]
					},
					"pool_type": "Liquidity Pool",
					"pool_address": "0x0c5da0f07962dd0256c079248633f2b43cad6f62"
				},
				{
					"detail": {
						"supply_token_list": [
							{
								"address": "0x1047104fdd07ed190d534082f3d1032365bd0251",
								"symbol": "Pirate boy[表情]",
								"decimal": 9,
								"price": 1.5776e-14,
								"amount": 31334847367518086.193202818025754613549,
								"logo_url": "https://www.blockin.ai/image/bsc/token/0x1047104fdd07ed190d534082f3d1032365bd0251.png"
							},
							{
								"address": "BNB",
								"symbol": "BNB",
								"decimal": 18,
								"price": 246.5,
								"amount": 1.9909847528029927764991997078031736411,
								"logo_url": "https://www.blockin.ai/image/bsc/token/BNB.png"
							}
						]
					},
					"pool_type": "Liquidity Pool",
					"pool_address": "0x5400baca118c35fb36010980c49b981636ba901e"
				},
				{
					"detail": {
						"supply_token_list": [
							{
								"address": "BNB",
								"symbol": "BNB",
								"decimal": 18,
								"price": 246.5,
								"amount": 7.2904319102736107237484378142377836575888,
								"logo_url": "https://www.blockin.ai/image/bsc/token/BNB.png"
							},
							{
								"address": "0x1d458625e399e42e7f4b918179003494780250c6",
								"symbol": "中国制造Zilla",
								"decimal": 9,
								"price": 0,
								"amount": 2.1583305983241085408222251052979290791724e+22,
								"logo_url": "https://www.blockin.ai/image/bsc/token/0x1d458625e399e42e7f4b918179003494780250c6.png"
							}
						]
					},
					"pool_type": "Liquidity Pool",
					"pool_address": "0xd42214f4c5a159f489a842f49ddb98fd7892c3be"
				},
				{
					"detail": {
						"supply_token_list": [
							{
								"address": "0x4f1a6fc6a7b65dc7ebc4eb692dc3641be997c2f2",
								"symbol": "Santa",
								"decimal": 9,
								"price": 1.462e-9,
								"amount": 8442979607027.579775414428098585257904,
								"logo_url": "https://www.blockin.ai/image/bsc/token/0x4f1a6fc6a7b65dc7ebc4eb692dc3641be997c2f2.png"
							},
							{
								"address": "BNB",
								"symbol": "BNB",
								"decimal": 18,
								"price": 246.5,
								"amount": 51.25907643239557385708036809304301896,
								"logo_url": "https://www.blockin.ai/image/bsc/token/BNB.png"
							}
						]
					},
					"pool_type": "Liquidity Pool",
					"pool_address": "0xfdf3b6a027839a30a5de3e355708fd45c323f7ec"
				},
				{
					"detail": {
						"supply_token_list": [
							{
								"address": "0x603c7f932ed1fc6575303d8fb018fdcbb0f39a95",
								"symbol": "BANANA",
								"decimal": 18,
								"price": 0.01963212,
								"amount": 19878.204424963834309662,
								"logo_url": "https://www.blockin.ai/image/bsc/token/0x603c7f932ed1fc6575303d8fb018fdcbb0f39a95.png"
							}
						],
						"reward_token_list": [
							{
								"address": "0x603c7f932ed1fc6575303d8fb018fdcbb0f39a95",
								"symbol": "BANANA",
								"decimal": 18,
								"price": 0.01963212,
								"amount": 1655.115171018243051524,
								"logo_url": "https://www.blockin.ai/image/bsc/token/0x603c7f932ed1fc6575303d8fb018fdcbb0f39a95.png"
							}
						]
					},
					"pool_type": "Farming",
					"pool_address": "0x5c8d727b265dbafaba67e050f2f739caeeb4a6f9"
				},
				{
					"detail": {
						"supply_token_list": [
							{
								"address": "0x0e09fabb73bd3ade0a17ecc321fd13a19e81ce82",
								"symbol": "Cake",
								"decimal": 18,
								"price": 1.38,
								"amount": 695011.67414716,
								"logo_url": "https://www.blockin.ai/image/bsc/token/0x0e09fabb73bd3ade0a17ecc321fd13a19e81ce82.png"
							}
						]
					},
					"pool_type": "Yield",
					"pool_address": "0x45c54210128a065de780c4b0df3d16664f7f859e"
				}
			],
			"update_at": 1687263274
		}
	],
	"error_code": null,
	"error_msg": null
}


Failed Response Sample

{
    "success": false,
    "data": [],
    "error_code": null,
    "error_msg": null
}
PreviousQuery protocol portfolio list by chain name and user addressNextQuery protocol portfolio by chain name, protocol name and user address

Last updated 1 year ago

If chain_names is empty, query all. Multiple chains are separated by commas. eg: eth, bsc, arb.

😈
🐙
Enumeration