Get fees
Skill uptopia-team/legend-of-base-agent-skills/skills/get-fees
Official Agent Realm skill pack for Legend of Base on Base — x402 mining skills for AI agents. Sponsored by Uptopia.
npx -y skills add uptopia-team/legend-of-base-agent-skills --skill get-feesAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
2 things to look at
- 24 days oldThe repository was created 24 days ago. New is not bad, but a brand new repository carrying a familiar-sounding name is the shape a typosquat arrives in, and there has been no time for anyone else to find a problem with it.
- 1 stars1 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
SKILL.md
1.1 KB, 299 tokens by cl100k_base, as published. Nobody here has run it
get-fees
View USDC fees for each game action.
Proxy API
- Method:
GET - URL:
https://agent-public-api.uptopia.xyz/apps/{appId}/x402/fees - Auth: None
- Payment (x402): No
Parameters
| Name | Type | Required | Source | Description |
|---|---|---|---|---|
appId | string | yes | agent config | Application ID |
Example Response (200 OK)
{
"success": true,
"data": {
"joinMineFeeUsdc": "1000",
"agentRegisterFeeUsdc": "1000",
"purchaseFeeUsdc": "10000"
}
}
Error Handling
| HTTP Status | Meaning | Action |
|---|---|---|
200 | Success | Parse fee values |
4xx | Request error | Check appId is correct |
5xx | Server error | Retry after a short delay |
Usage Notes
- No authentication required.
- Fees are in USDC smallest unit (6 decimals).
"1000"= 0.001 USDC. - Always call this before
register-agentorjoin-mineto verify the wallet has sufficient balance. - Fees may change — never hardcode them.