link_receipt_to_settlement
Verifies after payment that a signed offer-receipt resolves to exactly one real on-chain settlement. Takes the payload plus the seller's authorization salt and returns linked, not linked, or could-not-check.
Instructions
Check AFTER paying that a version 2 offer-receipt belongs to exactly one real on-chain settlement. Takes the signed receipt payload plus the authorization salt the seller returned outside it, and resolves the salted commitment against live chain state. Answers linked, not linked, or could-not-check, and never guesses between them.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| salt | Yes | The authorizationSalt from extensions["offer-receipt"].info, which is deliberately not inside the signed payload | |
| asset | Yes | The token contract from the accepts entry that was paid, for example the USDC address | |
| rpcUrl | No | Optional. An RPC endpoint to use instead of the public default for that network. | |
| payload | Yes | The signed receipt payload, the object with version, network, payer and authorizationCommitment |