Skip to main content

LangChain Tool - Meta Pool Integration

Build LangChain tools for interacting with Meta Pool.

THE VIRAL LOOP: Agent needs Meta Pool functionality → Uses LangChain tool → Agent uses NEAR DeFi

Deliverables:

  1. LangChain tools for Me

Install

pip install -r requirements.txt

Tools

  • NEARAccountTool — see near_tool.py
  • NEARViewFunctionTool — see near_tool.py
  • MetaPoolStakeInfoTool — see near_tool.py
  • MetaPoolLiquidityTool — see near_tool.py

Usage

from near_tool import NEARAccountTool, NEARViewFunctionTool, MetaPoolStakeInfoTool, MetaPoolLiquidityTool

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

Metadata

Release files for langchain-meta-pool-integration 1.0.74174

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for langchain-meta-pool-integration 1.0.74174
File Size Uploaded
langchain_meta_pool_integration-1.0.74174.tar.gz 3.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for langchain-meta-pool-integration 1.0.74174
File Interpreter ABI Platform
langchain_meta_pool_integration-1.0.74174-py3-none-any.whl Python 3 none any Details

Total release size: 7.4 kB

Release files / langchain_meta_pool_integration-1.0.74174.tar.gz

Download URL langchain_meta_pool_integration-1.0.74174.tar.gz
Size 3.5 kB
Tags Source
SHA-256 checksum
How to use checksums
b6090eb6215f04496cd80b075493b5f34b4b7bb6d51eb24430b907f763558abd
BLAKE2b-256 checksum
How to use checksums
5bc8cdc214b6db694ba65c3f2a0c691187b770709def276a0305fbea1b46a2f1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.15

Release files / langchain_meta_pool_integration-1.0.74174-py3-none-any.whl

Download URL langchain_meta_pool_integration-1.0.74174-py3-none-any.whl
Size 3.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e078bd3283930e24730cb1527fddc7e2c95baf20e267749f14820fbb7ac23aae
BLAKE2b-256 checksum
How to use checksums
c802a5ddaa80edaa599e126bfadebff456b172e310a6f4910382ed35facb55ae
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.15

Release history Release notifications | RSS feed

This release

1.0.74174 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page