# AINetworkToolkit

> **Class** in `langchain_community`

📖 [View in docs](https://reference.langchain.com/python/langchain-community/agent_toolkits/ainetwork/toolkit/AINetworkToolkit)

Toolkit for interacting with AINetwork Blockchain.

*Security Note*: This toolkit contains tools that can read and modify
    the state of a service; e.g., by reading, creating, updating, deleting
    data associated with this service.

    See https://python.langchain.com/docs/security for more information.

## Signature

```python
AINetworkToolkit()
```

## Parameters

| Name | Type | Required | Description |
|------|------|----------|-------------|
| `network` | `unknown` | Yes | Optional. The network to connect to. Default is "testnet". Options are "mainnet" or "testnet". |
| `interface` | `unknown` | Yes | Optional. The interface to use. If not provided, will attempt to authenticate with the network. Default is None. |

## Extends

- `BaseToolkit`

## Properties

- `network`
- `interface`
- `model_config`

## Methods

- [`set_interface()`](https://reference.langchain.com/python/langchain-community/agent_toolkits/ainetwork/toolkit/AINetworkToolkit/set_interface)
- [`get_tools()`](https://reference.langchain.com/python/langchain-community/agent_toolkits/ainetwork/toolkit/AINetworkToolkit/get_tools)

---

[View source on GitHub](https://github.com/langchain-ai/langchain-community/blob/a6a6079511ac8a5c1293337f88096b8641562e77/libs/community/langchain_community/agent_toolkits/ainetwork/toolkit.py#L20)