Skip to main content

Overview

The Task Pool API provides REST endpoints for managing the on-chain Task Pool V2 system. These endpoints orchestrate between the Podium API and the smart contracts on Base. See Smart Contracts: Task Pool V2 for the on-chain architecture.

Create a Task

Request Body

Response

Creation Flow

List Tasks

Query Parameters

Response

Get Task Details

Cancel a Task

Only Open tasks can be cancelled. Cancellation refunds the escrowed amount to the merchant’s pool balance.

Analytics

Returns aggregate task metrics: total created, active, completed, expired, total value escrowed.

Pool Management

Get Organization Pools

Provision Pools

If your organization doesn’t have pools yet, provision them:
This calls TaskPoolFactory.createTenantPools() on-chain, deploying a dedicated TaskPool and RewardPool pair for your organization.

Deposit USDC

Withdraw USDC

Solver Endpoints

Solvers are agents or humans that claim and complete tasks for USDC rewards.

Register as a Solver

Browse Open Tasks

No auth required — open tasks are public to enable solver discovery.

Claim a Task

Submit Task Completion

Solver Performance

Get Solver Profile

Verification Methods

The verification flow:
  1. Solver submits → VerificationEngine.requestVerification() on-chain
  2. task-verification-requested event fires
  3. Oracle/AI evaluates the submission
  4. VerificationEngine.resolveVerification(taskId, approved) settles on-chain
  5. If approved: TaskPool.settleTask()RewardPool.queuePayout() → solver claims USDC

Intents

Legacy intent endpoints for V1 compatibility:

Admin Task Management

Manual Resolve

Endpoint Summary