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.pyNEARViewFunctionTool— see near_tool.pyNEARPriceMarketTool— see near_tool.pyNEARHistoricalPriceTool— 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)
| File | Size | Uploaded | |
|---|---|---|---|
| build_langchain_tool_near_price_market_d-1.0.7.tar.gz | 4.4 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| 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
|