Skip to main content

Build LangChain Tool: NEAR Price & Market Data

Project description

Build LangChain Tool: NEAR Price & Market Data

Overview

Create a LangChain tool that provides real-time NEAR price data, market metrics, and historical trends for agent applications.

Why This Matters

Agents need market data to make informed

Install

pip install -r requirements.txt

Tools

  • NEARAccountTool — see near_tool.py
  • NEARViewFunctionTool — see near_tool.py
  • NEARPriceTool — see near_tool.py
  • NEARPriceAlertTool — see near_tool.py

Usage

from near_tool import NEARAccountTool, NEARViewFunctionTool, NEARPriceTool, NEARPriceAlertTool

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

Project details


Download files

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

Source Distribution

Built Distribution

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

File details

Details for the file build_langchain_tool_near_price_market_d-1.0.1.tar.gz.

File metadata

File hashes

Hashes for build_langchain_tool_near_price_market_d-1.0.1.tar.gz
Algorithm Hash digest
SHA256 01a903a3176e46a524c8666dd7da3af28511f9e9073796ef9381d9cff208fe5d
MD5 198ad4b95d91957bf58bd8f76e30daeb
BLAKE2b-256 3d553fb8768d5654f7c14261c9c989b0a6c244d7a169fcd154605118d9fc11d6

See more details on using hashes here.

File details

Details for the file build_langchain_tool_near_price_market_d-1.0.1-py3-none-any.whl.

File metadata

File hashes

Hashes for build_langchain_tool_near_price_market_d-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 926f55a396e115447f08b17fd49f55fdf4fe5dd6e1c861c4514caf699e00b834
MD5 b54616eebb4fc41cf20662b3b269398e
BLAKE2b-256 480ea4aa097ac02fedd4f158b1cca98d10848f9202b71a0d4403d890b43e81e9

See more details on using hashes here.

Supported by

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