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 Provenance Actions
build_langchain_tool_near_price_market_d-1.0.7.tar.gz 4.4 kB Without provenance Details for build_langchain_tool_near_price_market_d-1.0.7.tar.gz

Built distribution (wheel)

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

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

Security for build-langchain-tool-near-price-market-d 1.0.7

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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