Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/The-Swarm-Corporation/CryptoAgent
/ functions
Functions
7 in github.com/The-Swarm-Corporation/CryptoAgent
⨍
Functions
7
◇
Types & classes
4
↓ 2 callers
Method
run
Summarize multiple coins in parallel using ThreadPoolExecutor and return JSON format. Optionally, fetches data in real-time or every 1 second
cryptoagent/main.py:190
↓ 1 callers
Function
format_dict_row_by_row
Format a dictionary such that each key and value is printed on a separate line. Args: data (dict): The dictionary to format. Re
cryptoagent/tools/eth_block_tool.py:10
↓ 1 callers
Method
get_crypto_data
Fetch crypto data, prioritizing CoinGecko and using CoinMarketCap as a fallback. Args: - coin_id (str): The ID of the coin t
cryptoagent/main.py:129
↓ 1 callers
Method
get_crypto_data_coingecko
Fetch crypto data from CoinGecko. Args: - coin_id (str): The ID of the coin to fetch data for. Returns: - U
cryptoagent/main.py:97
Method
__init__
Initialize the CryptoAgent with an agent, currency, and logging options. Args: - agent (Agent): The agent instance for gener
cryptoagent/main.py:56
Function
fetch_and_analyze_ethereum_transaction
Fetch and analyze Ethereum blockchain transaction data. Args: tx_hash (str): The transaction hash of the Ethereum transaction.
cryptoagent/tools/eth_block_tool.py:27
Method
fetch_and_summarize
Fetch crypto data and generate a summary using the input agent. Args: - coin_id (str): The ID of the coin to summarize.
cryptoagent/main.py:143