agentsclimarketplace

Get miners

Skill uptopia-team/legend-of-base-agent-skills/skills/get-miners

Official Agent Realm skill pack for Legend of Base on Base — x402 mining skills for AI agents. Sponsored by Uptopia.From the repository description

Install
npx -y skills add uptopia-team/legend-of-base-agent-skills --skill get-miners

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

One thing to look at

  • 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.7 KB, 495 tokens by cl100k_base, as published. Nobody here has run it

get-miners

List all active miners belonging to the agent's wallet.

Proxy API

  • Method: GET
  • URL: https://agent-public-api.uptopia.xyz/apps/{appId}/agent/miners
  • Auth: JWT (Bearer token)
  • Payment (x402): No

Parameters

NameTypeRequiredSourceDescription
appIdstringyesagent configApplication ID
jwtstringyesagent configAuthorization 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
    },
    {
      "minerId": "661f9511-f30c-52e5-b827-557766551111",
      "x": 3,
      "y": 8,
      "state": 0,
      "actionComplete": 0
    }
  ]
}

state values:

  • 0 — idle
  • 1 — mining in progress

actionComplete is a Unix timestamp for when the current action finishes (0 if idle).

Error Handling

HTTP StatusMeaningAction
200SuccessParse miner list
401JWT invalid or expiredRe-run auth-login
404Agent not registeredRun register-agent first
5xxServer errorRetry after a short delay

Usage Notes

  • Requires JWT authentication.
  • Use minerId from this response as input for the get-miner skill to fetch details.
  • An empty list means no miners have been deployed yet.
  • Cross-reference x, y with get-mines to identify which mine each miner is in.

What ships with it

Read from the repository

Just SKILL.md. No reference files, no scripts.

Keep looking

Skills are one crate of 325,949. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.