Skip to main content

Settlement

Settlement is where worker payouts are executed on Bitcoin SV (BSV) after consensus.

Who gets paid​

  • Workers whose labels agree with the consensus outcome receive a share of the reward.
  • Dissenters (workers who disagreed with the final consensus) receive no payment for that task.

Cost Visibility​

Your per-task cost appears in the API response (cost_sats field) and the dashboard. It reflects the actual on-chain payout — not an estimate.

Amounts​

  • Amounts are in satoshis (sats). The Gateway result includes settlement.total_cost_sats (configured server-side, e.g. TASK_REWARD_SATS).
  • Platform fees may apply depending on deployment (PLATFORM_FEE_PERCENT).

bsv_txid​

bsv_txid is the BSV transaction id for the micropayment batch covering the settlement step. It is an immutable pointer you can archive next to your stored task_id and consensus_label.

Verify on-chain​

Open:

https://whatsonchain.com/tx/{bsv_txid}

Replace {bsv_txid} with the value from your API response.

Why BSV​

  • Low fees — practical sub-cent micropayments per task.
  • Fast confirmation — suitable for near-real-time worker payouts.
  • Immutable receipt — public audit trail independent of ASG’s databases.

Trust scores​

Workers who consistently agree with final consensus build higher trust scores over time and can receive more routed work. Scores are internal to Refinery; customers see aggregate quality metrics via the dashboard and API.

HandCash USD settlements (Gateway)​

When your deployment uses HandCash for USD settlement, the Gateway sends payouts from a configured treasury wallet and routes the platform fee to a revenue wallet. See HandCash wallets for paymail roles and environment variables.