v1/{chainName}/address/{walletAddress}/portfolio_v2/ REST API Endpoint - GoldRush Wallet API
路徑參數
chainName
字串
必填
載入中...
錢包地址
字串
必填
載入中...
查詢參數
quote-currency
字串
載入中...
days
整數
載入中...
退貨
資料
物件
載入中...
地址
字串
載入中...
updated_at
字串
載入中...
quote_currency
字串
載入中...
chain_id
整數
載入中...
chain_name
字串
載入中...
項目
陣列
載入中...
contract_address
字串
載入中...
contract_decimals
整數
載入中...
contract_name
字串
載入中...
contract_ticker_symbol
字串
載入中...
logo_url
字串
載入中...
holdings
陣列
載入中...
quote_rate
整數
載入中...
時間戳記
字串
載入中...
close
物件
載入中...
平衡
字串
載入中...
quote
整數
載入中...
pretty_quote
字串
載入中...
high
物件
載入中...
low
物件
載入中...
open
物件
載入中...
pagination
物件
載入中...
has_more
布林值
載入中...
page_number
整數
載入中...
page_size
整數
載入中...
total_count
整數
載入中...
錯誤
布林值
載入中...
error_message
字串
載入中...
error_code
字串
載入中...
請求
回應
1{2"data": {3"address": "0x00000000219ab540356cbb839cbe05303d7705fa",4"updated_at": "2025-04-29T10:15:30Z",5"quote_currency": "USD",6"chain_id": 1,7"chain_name": "eth-mainnet",8"items": [9{10"contract_address": "0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2",11"contract_decimals": 18,12"contract_name": "Wrapped Ether",13"contract_ticker_symbol": "WETH",14"logo_url": "https://www.covalenthq.com/static/images/icons/weth.png",15"holdings": [16{17"quote_rate": 3500,18"timestamp": "2025-04-29T00:00:00Z",19"close": {20"balance": "2.5",21"quote": 8750,22"pretty_quote": "$8,750.00"23},24"high": {},25"low": {},26"open": {}27},28{29"quote_rate": 3450,30"timestamp": "2025-04-28T00:00:00Z",31"close": {32"balance": "2.5",33"quote": 8625,34"pretty_quote": "$8,625.00"35},36"high": {},37"low": {},38"open": {}39}40]41},42{43"contract_address": "0xdac17f958d2ee523a2206206994597c13d831ec7",44"contract_decimals": 6,45"contract_name": "Tether USD",46"contract_ticker_symbol": "USDT",47"logo_url": "https://www.covalenthq.com/static/images/icons/usdt.png",48"holdings": [49{50"quote_rate": 1,51"timestamp": "2025-04-29T00:00:00Z",52"close": {53"balance": "5000",54"quote": 5000,55"pretty_quote": "$5,000.00"56},57"high": {},58"low": {},59"open": {}60},61{62"quote_rate": 1,63"timestamp": "2025-04-28T00:00:00Z",64"close": {65"balance": "5000",66"quote": 5000,67"pretty_quote": "$5,000.00"68},69"high": {},70"low": {},71"open": {}72}73]74}75],76"pagination": {77"has_more": false,78"page_number": 1,79"page_size": 100,80"total_count": 281}82},83"error": false,84"error_message": null,85"error_code": null86}
1{2"data": {3"address": "0x00000000219ab540356cbb839cbe05303d7705fa",4"updated_at": "2025-04-29T10:15:30Z",5"quote_currency": "USD",6"chain_id": 1,7"chain_name": "eth-mainnet",8"items": [9{10"contract_address": "0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2",11"contract_decimals": 18,12"contract_name": "Wrapped Ether",13"contract_ticker_symbol": "WETH",14"logo_url": "https://www.covalenthq.com/static/images/icons/weth.png",15"holdings": [16{17"quote_rate": 3500,18"timestamp": "2025-04-29T00:00:00Z",19"close": {20"balance": "2.5",21"quote": 8750,22"pretty_quote": "$8,750.00"23},24"high": {},25"low": {},26"open": {}27},28{29"quote_rate": 3450,30"timestamp": "2025-04-28T00:00:00Z",31"close": {32"balance": "2.5",33"quote": 8625,34"pretty_quote": "$8,625.00"35},36"high": {},37"low": {},38"open": {}39}40]41},42{43"contract_address": "0xdac17f958d2ee523a2206206994597c13d831ec7",44"contract_decimals": 6,45"contract_name": "Tether USD",46"contract_ticker_symbol": "USDT",47"logo_url": "https://www.covalenthq.com/static/images/icons/usdt.png",48"holdings": [49{50"quote_rate": 1,51"timestamp": "2025-04-29T00:00:00Z",52"close": {53"balance": "5000",54"quote": 5000,55"pretty_quote": "$5,000.00"56},57"high": {},58"low": {},59"open": {}60},61{62"quote_rate": 1,63"timestamp": "2025-04-28T00:00:00Z",64"close": {65"balance": "5000",66"quote": 5000,67"pretty_quote": "$5,000.00"68},69"high": {},70"low": {},71"open": {}72}73]74}75],76"pagination": {77"has_more": false,78"page_number": 1,79"page_size": 100,80"total_count": 281}82},83"error": false,84"error_message": null,85"error_code": null86}