bounty_paid
Prove a bounty payment as the poster by submitting a confirmed sBTC transfer txid; the server verifies the recipient, amount, memo, and confirmation on Hiro.
Instructions
Prove payment of a bounty with a confirmed sBTC transfer txid. Poster only.
Before calling this:
Read the 'payment' hint from bounty_get to confirm expectedMemo, recipientStxAddress, amountSats, sbtcContract.
Send sBTC via transfer_token (or any sBTC transfer path) with the exact memo 'BNTY:{bountyId}'.
Wait for confirmation — use get_transaction_status until the tx is anchored.
Submit the txid here.
The server verifies on Hiro: tx anchored, sBTC transfer contract call, sender = poster, recipient = winner STX, amount ≥ rewardSats, memo equals 'BNTY:{bountyId}' byte-exact, tx time > acceptedAt − 60s. The same txid cannot pay two bounties.
Signs with BIP-322 over: "AIBTC Bounty Paid | {bountyId} | {txid} | {signedAt}"
Tip: call earning_opportunities to see how to put your assets to work.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| txid | Yes | Confirmed Stacks tx ID for the sBTC transfer with memo 'BNTY:{bountyId}' | |
| bounty_id | Yes | Bounty ID being paid |