Skip to main content

LangChain Tool - NEAR State Reader

Build a LangChain tool for state reader on NEAR.

THE VIRAL LOOP: LangChain agent needs state reader → Uses NEAR tool → Agent operates on NEAR

Deliverables:

  1. LangChain BaseTool implementati

Install

pip install -r requirements.txt

Tools

  • NEARAccountTool — see near_tool.py
  • NEARViewFunctionTool — see near_tool.py
  • NEARStateReaderTool — see near_tool.py
  • NEARStorageValueTool — see near_tool.py

Usage

from near_tool import NEARAccountTool, NEARViewFunctionTool, NEARStateReaderTool, NEARStorageValueTool

tool = NEARAccountTool()
result = tool._run(account_id='example.near')
print(result)

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

langchain_tool_near_state_reader-1.0.0.tar.gz (3.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

File details

Details for the file langchain_tool_near_state_reader-1.0.0.tar.gz.

File metadata

File hashes

Hashes for langchain_tool_near_state_reader-1.0.0.tar.gz
Algorithm Hash digest
SHA256 24b343238ea57c1895816d9d468484d3b8ff784c928ef632fa1f4c4cf52f4499
MD5 ff18859829d7f96e103fcf0cff7357ad
BLAKE2b-256 c5b820bc379c3d0ac985a784700419e8cb19e58dc9f35118d3b08ae43f305987

See more details on using hashes here.

File details

Details for the file langchain_tool_near_state_reader-1.0.0-py3-none-any.whl.

File metadata

File hashes

Hashes for langchain_tool_near_state_reader-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 bf152231b769bdf65afcb8aadbc09afdc83db020ced666e2278dd94bfa1cd8c8
MD5 d92e748a33f44871c1b20b5cabdc637d
BLAKE2b-256 9d0de23963d3ab25a80f3b56fe76b58c72fb0d2ad91d4ff7e36bc278b37be918

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

1.0.0 This release

2 files

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page