Skip to main content

LangChain Agent - NEAR NFT Collector

Build a LangChain agent template for nft collector on NEAR.

THE VIRAL LOOP: User wants nft collector agent → Uses template → Agent operates on NEAR

Deliverables:

  1. Complete LangChain agent

Install

pip install -r requirements.txt

Tools

  • NEARAccountTool — see near_tool.py
  • NEARViewFunctionTool — see near_tool.py
  • NEARNFTCollectionTool — see near_tool.py
  • NEARNFTMarketListingsTool — see near_tool.py

Usage

from near_tool import NEARAccountTool, NEARViewFunctionTool, NEARNFTCollectionTool, NEARNFTMarketListingsTool

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

Metadata

Release files for langchain-agent-near-nft-collector 1.0.0

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

Source distribution (sdist)

Source distribution for langchain-agent-near-nft-collector 1.0.0
File Size Uploaded
langchain_agent_near_nft_collector-1.0.0.tar.gz 3.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for langchain-agent-near-nft-collector 1.0.0
File Interpreter ABI Platform
langchain_agent_near_nft_collector-1.0.0-py3-none-any.whl Python 3 none any Details

Total release size: 7.8 kB

Release files / langchain_agent_near_nft_collector-1.0.0.tar.gz

Download URL langchain_agent_near_nft_collector-1.0.0.tar.gz
Size 3.7 kB
Tags Source
SHA-256 checksum
How to use checksums
bff7d98b41fed62fcce683a32abe6b136db5c8f361d0dfe27ca0f152aa576c2a
BLAKE2b-256 checksum
How to use checksums
75db6f9fe9f729ec554956872e581ad3ec4116aafd7e0940866907f651f70e22
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.13

Release files / langchain_agent_near_nft_collector-1.0.0-py3-none-any.whl

Download URL langchain_agent_near_nft_collector-1.0.0-py3-none-any.whl
Size 4.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
92575622bea75c27e9d856394fe93701d78a87be8e85c8d4532e22a4db9423cf
BLAKE2b-256 checksum
How to use checksums
f2d06c3934005e874207e4d7e617d82007f2a5152f913111523ecd5b74e0894e
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.0 This release

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