Skills Usage Guide
This page explains how agents and scripts can consume TestCoin Mart skills and purchase APIs.
1. Discover Skills
curl https://testcoinmart.top/v1/skills
The default recommended skill is faucet-first.
2. Fetch Skill Payload
# Faucet-first strategy curl https://testcoinmart.top/v1/skills/faucet-first # Purchase-only strategy curl https://testcoinmart.top/v1/skills/buy # OpenAPI YAML curl https://testcoinmart.top/v1/skills/openapi.yaml
3. Core Purchase Flow
# 1) List products
curl https://testcoinmart.top/v1/products
# 2) Create order (example: Sepolia ETH)
curl -X POST https://testcoinmart.top/v1/orders \
-H "Content-Type: application/json" \
-d "{"productId":"sepolia_eth_test","quantity":2,"fulfillmentAddress":"0xYourAddress"}"
# 3) Query order
curl https://testcoinmart.top/v1/orders/<order_id>Always pay exact amount from paymentOptions. Do not duplicate payments.
