Loading...
Loading...
Multi-chain wallet portfolios: token balances, tx history, DeFi positions, NFTs. Use when inspecting any EVM address (e.g. show vitalik.eth balances, decode this tx, what DeFi protocols does 0x... use).
npx skill4agent add starchild-ai-agent/official-skills debankbashpython3 - <<'EOF'
import sys, json
sys.path.insert(0, "/data/workspace/skills/debank")
from exports import db_chain_list, db_user_total_balance, db_user_all_token_list
print(db_chain_list()[:3])
print(db_user_total_balance(user_addr="0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045"))
EOFexports.pydb_*db_chain_listdb_chaindb_tokendb_user_total_balancedb_user_all_token_listdb_user_all_simple_protocol_listdb_user_all_complex_protocol_listdb_user_history_listdb_protocoldb_pre_exec_txdb_explain_txexports.pychain_idethbscarbopbasematicavaxsolerascrllineamntblastdb_chain_list()user_addrprotocol_iddb_protocol_list()| Function | Description |
|---|---|
| List all supported chains. |
| One chain's metadata. |
| Gas prices for a chain. |
| Token detail. |
| Batch token lookup. |
| Historical prices (unix timestamps). |
| Top holders. |
| Function | Description |
|---|---|
| USD value on one chain. |
| Tokens on one chain. |
| One token balance. |
| DeFi positions (light) on one chain. |
| DeFi positions (detailed) on one chain. |
| NFTs on one chain. |
| Tx history on one chain. |
| Net worth curve on one chain. |
| Token approvals (security audit). |
| NFT approvals. |
| Function | Description |
|---|---|
| Total USD across all chains + breakdown. |
| Net worth curve across all chains. |
| Which chains the address has used. |
| All tokens across all chains. |
| All DeFi positions (light). |
| All DeFi positions (detailed). |
| All NFTs. |
| All tx history. |
| All app-level positions (more granular). |
| Function | Description |
|---|---|
| Protocol detail. |
| Protocols on one chain. |
| All protocols across chains. |
| App-level protocols (groups). |
| User's position in one protocol. |
| One pool's detail. |
| Function | Description |
|---|---|
| Simulate tx before sending. |
| Human-readable explanation of a tx. |
total_usd_valuechain_idusd_value10**decimalsdb_user_total_balance(user_addr="0x...") # Total balance across all chains
db_user_all_token_list(user_addr="0x...") # All token holdings
db_user_all_nft_list(user_addr="0x...") # All NFT collectionsdb_user_token_list(user_addr="0x...", chain_id="eth") # Ethereum tokens
db_user_token_list(user_addr="0x...", chain_id="bsc") # BSC tokensdb_user_history_list(user_addr="0x...", chain_id="eth") # Eth transactions
db_user_all_history_list(user_addr="0x...") # All chain transactionsdb_user_simple_protocol_list(user_addr="0x...", chain_id="eth") # Simple balances
db_user_complex_protocol_list(user_addr="0x...", chain_id="eth") # Detailed positions
db_user_all_complex_protocol_list(user_addr="0x...") # All chainsdb_token(chain_id="eth", token_id="0x...") # Token details
db_token_history_price(chain_id="eth", token_id="0x...", start_time=1234567890, end_time=1234567990)
db_token_top_holders(chain_id="eth", token_id="0x...") # Top 100 holdersdb_pre_exec_tx(user_addr="0x...", chain_id="eth", tx={...}) # Enhanced pre-execution
db_explain_tx(user_addr="0x...", chain_id="eth", tx={...}) # Explain transactiondb_protocol(protocol_id="uniswap") # Protocol details
db_protocol_list(chain_id="eth") # All protocols on chain
db_protocol_all_list() # All protocols across chainsdb_chain_list() # All supported chains
db_chain(chain_id="eth") # Specific chain details
db_gas_market(chain_id="eth") # Gas pricesdb_chain_list()