Skip to main content

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
  • NEARPriceMarketTool — see near_tool.py
  • NEARHistoricalPriceTool — see near_tool.py

Usage

from near_tool import NEARAccountTool, NEARViewFunctionTool, NEARPriceMarketTool, NEARHistoricalPriceTool

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

Metadata

Release files for build-langchain-tool-near-price-market-d 1.0.7

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

Source distribution (sdist)

Source distribution for build-langchain-tool-near-price-market-d 1.0.7
File Size Uploaded
build_langchain_tool_near_price_market_d-1.0.7.tar.gz 4.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for build-langchain-tool-near-price-market-d 1.0.7
File Interpreter ABI Platform
build_langchain_tool_near_price_market_d-1.0.7-py3-none-any.whl Python 3 none any Details

Total release size: 9.2 kB

Release files / build_langchain_tool_near_price_market_d-1.0.7.tar.gz

Download URL build_langchain_tool_near_price_market_d-1.0.7.tar.gz
Size 4.4 kB
Tags Source
SHA-256 checksum
How to use checksums
b8d37b6339e0fe9a39edf104b3ccbb63f4c29967551ca72199b3d9e9a3279520
BLAKE2b-256 checksum
How to use checksums
4d66fcdb35d047a6f4bfe499c284c1d01deac8940fdec0a26e81d7d0df466f4f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.13

Release files / build_langchain_tool_near_price_market_d-1.0.7-py3-none-any.whl

Download URL build_langchain_tool_near_price_market_d-1.0.7-py3-none-any.whl
Size 4.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a29d3ba40c42715b06184c1070e0544876e412c73ce24729c0b6e31d096fd98e
BLAKE2b-256 checksum
How to use checksums
c48f3d524e49a69888c0181240ab95c8ede7183749e973057ba6e19023bcae68
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.13

Release history Release notifications | RSS feed

This release

1.0.7 This release

2 release files

1.0.6

2 release files

1.0.5

2 release files

1.0.4

2 release files

1.0.3

2 release files

1.0.2

2 release files

1.0.1

2 release files

1.0.0

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