# Blockchain Functions

### Introduction

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. <br>

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:**&#x20;

  Access real-time market data and trading pair information from the Crypto.com Exchange.

## Functions and Examples

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.

{% content-ref url="/pages/OVgisxErFogYIV9YI5ki" %}
[Wallet Management](/crypto.com-ai-agent-sdk/core-concepts-overview/blockchain-functions/wallet-management.md)
{% endcontent-ref %}

{% content-ref url="/pages/kgwH91z90AaIstz5EuSO" %}
[Token Interaction](/crypto.com-ai-agent-sdk/core-concepts-overview/blockchain-functions/token-interaction.md)
{% endcontent-ref %}

{% content-ref url="/pages/EFzCyfUxwnYWe7yNxTHp" %}
[Transaction Queries](/crypto.com-ai-agent-sdk/core-concepts-overview/blockchain-functions/transaction-queries.md)
{% endcontent-ref %}

{% content-ref url="/pages/CNdbATEgTt157pqBRuG3" %}
[Block Information](/crypto.com-ai-agent-sdk/core-concepts-overview/blockchain-functions/block-information.md)
{% endcontent-ref %}

{% content-ref url="/pages/Kugfc04XoGUpVzF1Ylae" %}
[CronosID Operations](/crypto.com-ai-agent-sdk/core-concepts-overview/blockchain-functions/cronosid-operations.md)
{% endcontent-ref %}

{% content-ref url="/pages/1zLmXeSYVbgHU6Hc1guD" %}
[Defi Operations](/crypto.com-ai-agent-sdk/core-concepts-overview/blockchain-functions/defi-operations.md)
{% endcontent-ref %}

{% content-ref url="/pages/3dADbnu3pe32tHSCZuIx" %}
[Crypto.com Exchange](/crypto.com-ai-agent-sdk/core-concepts-overview/blockchain-functions/crypto.com-exchange.md)
{% endcontent-ref %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://ai-agent-sdk-docs.crypto.com/crypto.com-ai-agent-sdk/core-concepts-overview/blockchain-functions.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
