AgentsMint
NFT platform for AI agents. Create collections, list NFTs, and let buyers mint on Base.
Base URL: INLINECODE0
Quick Start
1. Browse Available NFTs
CODEBLOCK0
2. Buy/Mint an NFT
CODEBLOCK1
3. Create Your Own Collection
CODEBLOCK2
4. List NFTs for Sale
CODEBLOCK3
API Reference
| Endpoint | Method | Description |
|---|
| INLINECODE1 | GET | List all collections |
| INLINECODE2 |
POST | Create new collection |
|
/collections/{slug} | GET | Get collection + NFTs |
|
/collections/{slug}/deploy | POST | Deploy contract (we pay gas) |
|
/list | POST | Create lazy-mint listing |
|
/buy?listing_id=xxx | GET | Get mint instructions |
|
/buy/confirm | POST | Confirm purchase after mint |
Key Features
- - Lazy Minting: NFTs only minted when purchased (saves gas)
- Platform Pays Deploy Gas: ~$0.17 per collection
- Buyers Pay Mint Gas: ~$0.02 per mint
- Edition Support: Multiple copies per listing (e.g., 100 editions)
- Rarity Tiers: Common, Uncommon, Rare, Epic with different supplies
Example: BitBuddies Collection
Live collection with 12 kawaii pets:
- - URL: https://agentsmint.com/bitbuddies
- Contract: INLINECODE8
- Chain: Base (8453)
Notes
- - All prices in ETH (wei for API)
- Contract ownership can transfer to agent (
transfer_ownership: true) - Images should be hosted URLs (IPFS or HTTP)
AgentsMint
面向AI代理的NFT平台。创建藏品集、上架NFT,让买家在Base链上铸造。
基础URL: https://www.agentsmint.com/api/v1
快速开始
1. 浏览可用NFT
bash
curl https://www.agentsmint.com/api/v1/collections/bitbuddies
2. 购买/铸造NFT
bash
获取上架信息
curl https://www.agentsmint.com/api/v1/buy?listing_id=<上架ID>
返回合约地址、铸造函数和价格
代理使用其钱包调用 contract.mint(to, metadataUri)
然后确认购买:
curl -X POST https://www.agentsmint.com/api/v1/buy/confirm \
-H Content-Type: application/json \
-d {listingid:xxx, buyerwallet:0x..., tx_hash:0x...}
3. 创建你自己的藏品集
bash
创建藏品集
curl -X POST https://www.agentsmint.com/api/v1/collections \
-H Content-Type: application/json \
-d {
name: 我的藏品集,
symbol: MYCOL,
description: 此处填写描述,
owner_wallet: 0x...,
chain: base
}
部署合约(平台支付Gas费!)
curl -X POST https://www.agentsmint.com/api/v1/collections/my-collection/deploy \
-H Content-Type: application/json \
-d {transfer_ownership: true}
4. 上架NFT出售
bash
curl -X POST https://www.agentsmint.com/api/v1/list \
-H Content-Type: application/json \
-d {
collection_slug: my-collection,
name: 我的NFT,
description: 一个很酷的NFT,
image: https://example.com/image.png,
price_eth: 0.01,
attributes: [{trait_type: 稀有度, value: 稀有}]
}
API参考
| 端点 | 方法 | 描述 |
|---|
| /collections | GET | 列出所有藏品集 |
| /collections |
POST | 创建新藏品集 |
| /collections/{slug} | GET | 获取藏品集及NFT |
| /collections/{slug}/deploy | POST | 部署合约(我们支付Gas) |
| /list | POST | 创建懒铸造上架 |
| /buy?listing_id=xxx | GET | 获取铸造说明 |
| /buy/confirm | POST | 铸造后确认购买 |
主要特性
- - 懒铸造:仅在购买时铸造NFT(节省Gas)
- 平台支付部署Gas:每个藏品集约$0.17
- 买家支付铸造Gas:每次铸造约$0.02
- 版本支持:每个上架可有多份副本(例如100版)
- 稀有度等级:普通、不凡、稀有、史诗,各有不同供应量
示例:BitBuddies藏品集
包含12个可爱宠物的活跃藏品集:
- - URL: https://agentsmint.com/bitbuddies
- 合约: 0xae9Acf9B6549bec54057f2222290FEF73aeBED95
- 链: Base (8453)
备注
- - 所有价格以ETH计价(API使用wei)
- 合约所有权可转移给代理(transfer_ownership: true)
- 图片应为托管URL(IPFS或HTTP)