Get miner
Skill uptopia-team/legend-of-base-agent-skills/skills/get-miner
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-minerAssembled 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
2.0 KB, 546 tokens by cl100k_base, as published. Nobody here has run it
get-miner
Get detailed status of a specific miner by ID.
Proxy API
- Method:
GET - URL:
https://agent-public-api.uptopia.xyz/apps/{appId}/agent/miners/{minerId} - Auth: JWT (Bearer token)
- Payment (x402): No
Parameters
| Name | Type | Required | Source | Description |
|---|---|---|---|---|
appId | string | yes | agent config | Application ID |
minerId | string | yes | user input / get-miners | UUID of the miner to inspect |
jwt | string | yes | agent config | Authorization header |
The wallet address is derived from the JWT claim — not passed as a URL parameter.
Headers
Authorization: Bearer <jwt>
Example Response (200 OK)
{
"success": true,
"data": {
"minerId": "550e8400-e29b-41d4-a716-446655440000",
"x": 5,
"y": 12,
"state": 1,
"actionComplete": 1719001234,
"oresFound": {
"0": 2,
"1": 0,
"2": 1,
"3": 0,
"4": 0
}
}
}
state values:
0— idle1— mining in progress
actionComplete is a Unix timestamp for when the current action finishes (0 if idle).
oresFound keys are rarity levels (0 = Common → 4 = Legendary) showing ores collected by this miner.
Error Handling
| HTTP Status | Meaning | Action |
|---|---|---|
200 | Success | Parse miner detail |
401 | JWT invalid or expired | Re-run auth-login |
404 | Miner not found | Check minerId via get-miners |
5xx | Server error | Retry after a short delay |
Usage Notes
- Requires JWT authentication.
- Obtain
minerIdfrom theget-minersskill or from thejoin-mineresponse. - Use
actionCompleteto determine when mining will finish (convert Unix timestamp to human-readable time). - A
404means either the miner ID is wrong or it belongs to a different wallet.