Hive Intelligence - Crypto MCP Server

Portfolio & Wallet Tools

20 tools for portfolio tracking, wallet analytics, and transaction history.

MCP Endpoint: POST /hive_portfolio_wallet/mcp

Data Sources: DeBank, Codex


Balance Tools

get_wallet_balance

Get net assets on a specific chain.

ParameterTypeRequiredDescription
idstringYesWallet address
chain_idstringYesChain ID (e.g., "eth", "bsc")
is_allbooleanNoReturn all tokens (default: true)

Example:

curl -X POST https://api.hiveintelligence.xyz/api/execute \
  -H "Content-Type: application/json" \
  -d '{
    "toolName": "get_wallet_balance",
    "arguments": {
      "id": "0x...",
      "chain_id": "eth"
    }
  }'

get_wallet_token_balances

Get token balances across all supported chains.

ParameterTypeRequiredDescription
idstringYesWallet address
is_allbooleanNoReturn all tokens (default: true)
chain_idsstringNoComma-separated chain IDs (e.g., "eth,bsc")

get_wallet_balances

Get token balances for a wallet on a specific network (via Codex).

ParameterTypeRequiredDescription
walletAddressstringYesWallet address
networkIdnumberYesNetwork ID
cursorstringNoPagination cursor
filterTokenstringNoFilter by token address
includeNativebooleanNoInclude native token balances

DeFi Position Tracking

get_wallet_defi_positions

Get DeFi positions on a specific chain.

ParameterTypeRequiredDescription
idstringYesWallet address
chain_idstringYesChain ID

Response includes:

  • Staking positions
  • Lending/borrowing positions
  • Liquidity pool positions
  • Farming positions

get_wallet_defi_positions_all_chains

Get DeFi positions across all supported chains.

ParameterTypeRequiredDescription
idstringYesWallet address
chain_idsstringNoComma-separated chain IDs

get_wallet_protocol_positions

Get positions in a specific protocol.

ParameterTypeRequiredDescription
idstringYesWallet address
protocol_idstringYesProtocol ID (e.g., "uniswap", "curve")

Transaction History

get_wallet_history

Get transaction history for a wallet.

ParameterTypeRequiredDescription
idstringYesWallet address
chain_idstringYesChain ID
token_idstringNoFilter by token
start_timenumberNoUnix timestamp (return history earlier than this)
page_countnumberNoEntries to return (max 20)

Example:

curl -X POST https://api.hiveintelligence.xyz/api/execute \
  -H "Content-Type: application/json" \
  -d '{
    "toolName": "get_wallet_history",
    "arguments": {
      "id": "0x...",
      "chain_id": "eth",
      "page_count": 10
    }
  }'

get_wallet_token_events

Get token events for a wallet address.

ParameterTypeRequiredDescription
query.makerstringYesWallet address
query.networkIdnumberNoNetwork ID
query.tokenAddressstringNoToken address
query.eventTypestringNoEvent type: Burn, Mint, Swap, Sync
query.timestampobjectNo{from, to} Unix timestamps
directionstringNoSort: "ASC" or "DESC"
limitnumberNoMaximum results
cursorstringNoPagination cursor

Wallet Analytics

get_wallet_stats

Get comprehensive statistics for a wallet.

ParameterTypeRequiredDescription
walletAddressstringYesWallet address
networkIdnumberNoNetwork ID
timestampnumberNoUnix timestamp
includeNetworkBreakdownbooleanNoInclude network breakdown

get_wallet_chart

Generate chart data for wallet activity.

ParameterTypeRequiredDescription
walletAddressstringYesWallet address
range.startnumberYesStart Unix timestamp
range.endnumberYesEnd Unix timestamp
resolutionstringYesChart resolution/timeframe
networkIdnumberNoNetwork ID

Wallet Search & Filtering

filter_wallets

Search and filter blockchain wallets.

ParameterTypeRequiredDescription
walletsarrayNoWallet addresses to filter
includeLabelsarrayNoLabels to include
excludeLabelsarrayNoLabels to exclude
filtersobjectNoCustom filter criteria
rankingsarrayNoRanking attributes with direction
limitnumberNoMaximum results
offsetnumberNoPagination offset

Ranking attributes include:

  • averageProfitUsdPerTrade1d
  • averageSwapAmountUsd1w
  • realizedProfitPercentage30d
  • volumeUsd1y
  • winRate1d

filter_token_wallets

Filter wallets holding or trading a specific token.

ParameterTypeRequiredDescription
tokenIdstringNoToken ID
walletAddressstringNoWallet address
networkIdnumberNoNetwork ID
phrasestringNoSearch phrase
walletsarrayNoWallet addresses
includeLabelsarrayNoLabels to include
excludeLabelsarrayNoLabels to exclude
filtersobjectNoCustom filters
rankingsarrayNoRanking attributes
limitnumberNoMaximum results
offsetnumberNoPagination offset

NFT Holdings

get_wallet_nft_collections

Get NFT collections held by a wallet.

ParameterTypeRequiredDescription
input.walletAddressstringYesWallet address
input.cursorstringNoPagination cursor

get_wallet_nft_assets

Get specific NFT assets from a collection held by a wallet.

ParameterTypeRequiredDescription
input.walletAddressstringYesWallet address
input.collectionIdstringYesCollection ID (address:networkId format)
input.cursorstringNoPagination cursor

Supported Chains

ChainIDNative Token
EthereumethETH
BNB ChainbscBNB
PolygonmaticMATIC
ArbitrumarbETH
OptimismopETH
AvalancheavaxAVAX
BasebaseETH
FantomftmFTM

Quick Reference

ToolDescription
get_wallet_balanceToken balances on chain
get_wallet_token_balancesBalances across all chains
get_wallet_balancesBalances via Codex
get_wallet_defi_positionsDeFi positions on chain
get_wallet_defi_positions_all_chainsDeFi positions all chains
get_wallet_protocol_positionsProtocol-specific positions
get_wallet_historyTransaction history
get_wallet_token_eventsToken events
get_wallet_statsWallet statistics
get_wallet_chartWallet chart data
filter_walletsSearch/filter wallets
filter_token_walletsToken-specific wallet filter
filter_network_walletsFilter wallets by network criteria
get_wallet_nft_collectionsNFT collections held
get_wallet_nft_assetsNFT assets held

Frequently Asked Questions

Q: Does this support ENS names? A: Yes, you can pass ENS names (e.g., "vitalik.eth") directly as the wallet address. The API resolves ENS to the underlying Ethereum address.

Q: How accurate are USD values? A: Values are calculated using real-time token prices from multiple DEX and CEX sources, updated every minute. For less liquid tokens, prices may have higher variance.

Q: Can I get historical balance snapshots? A: Use get_wallet_history for transaction history and reconstruct balances over time. Point-in-time balance snapshots require additional indexing.

Q: How do I track DeFi positions across multiple protocols? A: Use get_wallet_defi_positions_all_chains to get all DeFi positions across all supported chains and protocols in a single call.

Q: What's the difference between DeBank and Codex wallet tools? A: DeBank (get_wallet_balance) provides comprehensive portfolio tracking with DeFi position detection. Codex (get_wallet_balances) offers more granular trading analytics and wallet filtering capabilities.

Q: How can I find wallets that are successful traders? A: Use filter_wallets with rankings like winRate1d, realizedProfitPercentage30d, or averageProfitUsdPerTrade1d to discover profitable trading wallets.