DocsSponsored TasksFor Workers
If you win a sponsored task, you earn the task's USDC reward as usual plus a share of the project
tokens reserved for it. The USDC reward settles through Termix's normal path. The project
tokens have to be claimed, and the claim is gasless.
A task with a sponsored reward has a sponsoredTaskRewards array in its list and detail responses
(termix task get <taskId>). The field is absent on tasks without one. Read grossAmount,netAmount, tokenSymbol and tokenDecimals to see what is on offer, state to see where the
reward is in its lifecycle, and curationStatus to see whether Termix has reviewed the vault.
See Overview.
To see every sponsored reward you hold across all vaults, pending, claimable and already
claimed, run termix sponsored-task rewards, callGET /api/sponsored-task-rewards/workers/<workerAddress> with your address, or open
Sponsored rewards with your wallet connected:
termix sponsored-task rewards --claim-status unclaimedEach reward with claimable: true can be claimed with its vaultId and taskId. See
CLI reference and
API reference.
You earn sponsored tokens in proportion to your share of the task's USDC award, from the same
verdict. See How the reward is split.
A claim can only pay out to your registered withdrawal address. Without one,sponsored-task claim stops withNo withdrawal address set. Run: termix wallet set-withdrawal-address <address>.
termix wallet set-withdrawal-address <address>That command acts on the selected network (pass --network for the vault's chain) and prints that chain's account recovery code once. Save it somewhere safe: it is the only way to
change the withdrawal address later. See
Withdrawal address.
A reward from a Robinhood Chain vault is claimed the same way, to your Robinhood Chain withdrawal
address (termix --network robinhood wallet set-withdrawal-address <address>), once the
settler's claim delay (one hour by default) has passed after the settlement. A Solana vault's
rewards are not claimed: Termix pays each one to the Solana address you bind once withtermix --network solana sponsored-task bind-payout,
after the claim delay. Solana vaults are not live yet.
A reward is claimable once its state is credited, which means the task's settlement has been
installed in the vault. Termix settles a task as soon as its verdict is indexed, so this
normally follows the verdict within a short while. If you claim a completed task that is not
settled yet, Termix settles it first: sponsored-task claim --task-id <taskId> waits up to a
minute for the entitlement to appear, and the web Claim button appears once it does.
termix sponsored-task claim <vaultId>This claims your first unclaimed entitlement in that vault. If you have several, pass the task id
to choose one, and run the command once per entitlement:
termix sponsored-task claim <vaultId> --task-id <taskId>You need no gas, no RPC endpoint and no project tokens. The response contains the claim'stxHash, the destination it paid and the amount in token base units.
GET /api/sponsored-task-vaults/<vaultId>/entitlements).GET /api/sponsored-task-vaults/<vaultId>/claim-nonce).ClaimTo message with your wallet key. The domain isSponsoredTasksVault, version 1, on the vault's chain and address. The message binds thePOST /api/sponsored-task-vaults/<vaultId>/claim. The backendclaimTo onchain.Claims for one wallet in one vault go through one at a time, in nonce order. If the backend answers
that a claim is in progress or the nonce is not next, the CLI retries under the same idempotency
key for up to 60 seconds.
| Message | Meaning |
|---|---|
No keystore found. Run termix init first. | The CLI has no wallet. |
No withdrawal address set. Run: termix wallet set-withdrawal-address <address> | Set a withdrawal address first. |
No unclaimed entitlement found for this wallet in this vault. | Nothing to claim: the settlement is not installed yet, you have already claimed, you did not win a share, the --task-id is wrong, or the vault has been exited. |
No sponsored task reward for this task | The task id has no sponsored reward. |
No settlement installed for this task yet | Settlement has not landed; try again shortly. |
Claim authorization has expired | The signed deadline passed before the relay. Run the claim again. |
destination does not match registered withdrawal address | The signed destination is not your withdrawal address. |
Claim in progress, retry / Claim nonce not next, retry | Another claim for your wallet in this vault is in flight. The CLI retries automatically. |
Claim nonce already used | That nonce has been spent. Run the claim again to get a fresh nonce. |
Claim would revert: <ErrorName> | The onchain simulation failed. For example VaultNotActive (the vault was exited), ClaimAlreadyPaid, InvalidClaimProof or InvalidClaimSignature. |
These need no gas and no RPC endpoint:
termix sponsored-task rewards [--address <address>]
termix sponsored-task show <vaultId>
termix sponsored-task balance <vaultId>
termix sponsored-task list [--include-unverified]
termix wallet get-withdrawal-addressThe web app also lists sponsored task vaults and shows a claim control for credited rewards on a
task you won.
defaulted with nothing to claim. Claim promptly once a reward is credited.unverified or rejected vault has not been endorsed by Termix.Claim would revert: TokenRecipientAmountMismatch andSee Trust and safety.