← 返回
未分类 Key 中文

Debank Skill

Query blockchain wallet data—balances, DeFi positions, tokens, NFTs, transactions, gas prices, and token approvals—across EVM chains via DeBank API.
通过 DeBank API 查询 EVM 链上的钱包数据,包括余额、DeFi 持仓、代币、NFT、交易记录、Gas 价格和代币授权。
lolieatapple
未分类 clawhub v1.0.0 1 版本 100000 Key: 需要
★ 0
Stars
📥 340
下载
💾 0
安装
1
版本
#latest

概述

DeBank CLI Skill

This skill uses debank-cli to query blockchain data via the DeBank Pro API.

Skill repo: https://github.com/lolieatapple/debank-skill

CLI repo: https://github.com/lolieatapple/debank-cli

Prerequisites

Ensure debank-cli is installed globally:

!`which debank 2>/dev/null || echo "NOT_INSTALLED"`

If NOT_INSTALLED, install it:

npm install -g debank-cli

Then check if the API key is configured:

!`debank config show 2>&1`

If no API key is configured, ask the user for their DeBank Pro API key (obtain at https://cloud.debank.com/) and run:

debank config set-key <THE_KEY>

Available Commands

Wallet Queries

CommandDescription
------
debank user balance
Total USD balance across all chains
debank user tokens
[chain_id] [--all]
Token balances (optionally filter by chain, --all includes dust)
debank user protocols
[chain_id]
DeFi protocol positions with full detail (supply, borrow, rewards)
debank user nfts
[chain_id]
NFT holdings
debank user history
[chain_id] [count]
Transaction history (max 20 per page)
debank user approvals
Token approval/allowance list
debank user chains
Chains where this address has activity

Token Queries

CommandDescription
------
debank token info Token details (name, symbol, decimals, price)
debank token price [YYYY-MM-DD]Current or historical price
debank token holders [limit]Top holders (default 20)

Chain & Gas

CommandDescription
------
debank chain listAll supported chains
debank chain info Chain details
debank gas Gas prices (slow/normal/fast)

Config & Account

CommandDescription
------
debank config set-key Save API key to ~/.debank-cli/config.json
debank config showShow current API key source and masked value
debank config remove-keyRemove saved API key
debank account unitsCheck remaining API units and usage

Common Chain IDs

eth, bsc, matic, arb, op, base, avax, ftm, xdai, cro, linea, scroll, zksync

Native Token Addresses

For native tokens (ETH, BNB, etc.), use: 0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee

Handling the Request

If the user provides $ARGUMENTS, parse them and run the appropriate debank command directly.

Otherwise, determine the best command based on the user's natural language request:

  • "What's in this wallet?" / "Show me the portfolio" → debank user balance + debank user tokens + debank user protocols
  • "DeFi positions" / "protocol positions" → debank user protocols
  • "Token balances" → debank user tokens
  • "NFTs" → debank user nfts
  • "Transaction history" → debank user history
  • "Token price" / "How much is X?" → debank token price
  • "Gas price" → debank gas
  • "Approvals" / "allowances" → debank user approvals

For a comprehensive portfolio overview, run balance, tokens, and protocols in sequence to give a full picture.

Present the results clearly. When showing financial data, highlight the most significant positions and totals.

版本历史

共 1 个版本

  • v1.0.0 当前
    2026-05-07 11:08 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

developer-tools

Xflows Bridge

lolieatapple
跨链桥操作使用 xflows CLI(Wanchain XFlows)。适用于用户想要:① 创建或管理用于跨链的加密钱包,② ...
★ 0 📥 728

Yields Llama

lolieatapple
使用yieldsllama CLI(由DeFi Llama API驱动)跨链查询DeFi收益机会。在用户询问DeFi收益率、APY、最佳 staking 等时使用。
★ 0 📥 344

QuiverAI Skill

lolieatapple
根据文本提示生成SVG,或使用QuiverAI的AI模型将PNG/JPG/WebP等光栅图像转换为SVG。适用于需要创建图标、插画等场景。
★ 0 📥 342