Blockchain Functions
Last updated
Was this helpful?
Last updated
Was this helpful?
The AI Agent SDK integrates various functions from the Crypto.com On-Chain Developer Platform Client SDK as tools. These special tools serve as pre-built blockchain-related functions, which enable developers to interact with Cronos Chains in an easier way.
The SDK offers a wide range of features, including:
Wallet Management: Create wallets, check balances, and use SSO wallet integration for a seamless user experience.
Token Interactions: Retrieve token balances (native & ERC20), perform transfers, wrapping, and swapping.
On-Chain Queries: Access transaction details, fetch blocks by tag or number, fetch smart contracts ABI, and resolve CronosID.
DeFi Features: Retrieve whitelisted tokens, explore available farms, and obtain detailed farm information from specified DeFi protocols.
Exchange Integration:
Access real-time market data and trading pair information from the Crypto.com Exchange.
Below section provides detailed information on these blockchain functions and example interactions, guiding developers on how to effectively interact with Cronos Chains using the AI Agent SDK.