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.pyNEARPriceTool— see near_tool.pyNEARPriceAlertTool— see near_tool.py
Usage
from near_tool import NEARAccountTool, NEARViewFunctionTool, NEARPriceTool, NEARPriceAlertTool
tool = NEARAccountTool()
result = tool._run(account_id='example.near')
print(result)
Metadata
Release files for langchain-near-price 1.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| langchain_near_price-1.0.0.tar.gz | 4.3 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| langchain_near_price-1.0.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 8.8 kB
Release files / langchain_near_price-1.0.0.tar.gz
| Download URL | langchain_near_price-1.0.0.tar.gz |
|---|---|
| Size | 4.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f89978feb5ede273d36543ac70ddbd8719c80492230133af66fb16eadd9233a4
|
|
BLAKE2b-256 checksum How to use checksums |
f8f03627911909ab9efc49850cb680af45e34e85c726d00334f64115a69b44f2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.13
|
Release files / langchain_near_price-1.0.0-py3-none-any.whl
| Download URL | langchain_near_price-1.0.0-py3-none-any.whl |
|---|---|
| Size | 4.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
df28380cfe1b7ffa2893b7b881529f506911b4538e24904181ef5cf60d303427
|
|
BLAKE2b-256 checksum How to use checksums |
42c4810c0fa9ea3dc079ca6cf7947fd488c05c4c5c831e4a9d9f32146fcb580e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.13
|