For more details on the python package see the tycho-client-py documentation.
Message Types
Tycho emits data in an easy-to-read JSON format. Get granular updates on each block:
Snapshots for complete component (or pool) states,
Deltas for specific updates, and
Removal notices for components that no longer match your filtration criteria.
Each message includes block details to help you stay on track with the latest block data.
For specifics on the message structures and their intended uses, see our tycho-client documentation.
Harness the Power of Tycho's RPC
The client packages above not only stream live data to you, but also lets you access to Tycho’s RPC to query static token and protocol data.
Key Capabilities:
s.
Token information: Query tokens that Tycho supports, and filter by e.g. days since the token was last traded or token type.
Example fetching tokens from Tycho:
use tycho_client::rpc::HttpRPCClient;use tycho_core::dto::Chain;let client =HttpRPCClient::new("insert_tycho_url", Some("my_auth_token"));let tokens = client.get_all_tokens( Chain::Ethereum,Some(51_i32), // min token quality to filter for certain token typesSome(30_u64), // number of days since last traded1000, // pagination chunk size ).await.unwrap();/// Token quality is between 0-100, where:/// - 100: Normal token/// - 75: Rebase token/// - 50: Fee token/// - 10: Token analysis failed at creation/// - 5: Token analysis failed on cronjob (after creation)./// - 0: Failed to extract decimals onchain
Get beta access to our hosted Tycho service. Message @tanay_j on Telegram.
Learn More and Get Started
Ready to dive deeper? For a detailed guide on using Tycho Indexer, including setup and customization options, visit the full documentation in our GitHub repository.