获取代币同车钱包数据#
获取指定代币的同车钱包相关数据。
请求 URL#
GET https://web3.okx.com/api/v6/dex/market/memepump/apedWallet
请求参数#
| 参数名 | 类型 | 是否必填 | 描述 |
|---|---|---|---|
| chainIndex | String | 是 | 链唯一标识(如 501 = Solana),仅支持单链查询。 |
| tokenContractAddress | String | 是 | Token 合约地址。 |
| walletAddress | String | 否 | 钱包地址。 |
返回参数#
| 参数名 | 类型 | 描述 |
|---|---|---|
| apedWalletList | Array | 同车钱包列表。 |
| >walletAddress | String | 钱包地址。 |
| >walletType | String | 钱包类型。枚举值:SMART_MONEY、INFLUENCER、NORMAL。 |
| >holdingUsd | String | 当前持仓价值(USD)。 |
| >holdingPercent | String | 当前持仓占总供应量比例(%)。 |
| >totalPnl | String | 总盈亏(USD)。 |
| >pnlPercent | String | 盈亏百分比(%)。 |
请求示例#
Shell
curl --location --request GET 'https://web3.okx.com/api/v6/dex/market/memepump/apedWallet?chainIndex=501&tokenContractAddress=7Gf9...pump' \
--header 'OK-ACCESS-KEY: 37c541a1-****-****-****-10fe7a038418' \
--header 'OK-ACCESS-SIGN: leaV********3uw=' \
--header 'OK-ACCESS-PASSPHRASE: 1****6' \
--header 'OK-ACCESS-TIMESTAMP: 2023-10-18T12:21:41.274Z'
返回示例#
Json
{
"code": "0",
"msg": "",
"data": {
"apedWalletList": [
{
"walletAddress": "9xK3ab...Tg91",
"walletType": "SMART_MONEY",
"holdingUsd": "12450.32",
"holdingPercent": "1.28",
"totalPnl": "5320.11",
"pnlPercent": "74.32"
},
{
"walletAddress": "3Lm92Q...Hs77",
"walletType": "INFLUENCER",
"holdingUsd": "8420.50",
"holdingPercent": "0.86",
"totalPnl": "2100.00",
"pnlPercent": "33.18"
}
]
}
}