Are you an LLM? Read llms.txt for a summary of the docs, or llms-full.txt for the full context.
cancel_voucher · Boson Protocol
Skip to content

cancel_voucher

Cancels a committed voucher. Caller must be the buyer (voucher holder). Buyer forfeits buyerCancellationPenalty; remainder is refunded. Returns unsigned transaction data.

Category: Exchange management. Returns unsigned tx? Likely yes — sign locally and broadcast via send_signed_transaction or a meta-tx relay.

Input schema

FieldTypeRequiredDescription
exchangeIdstringyesNumeric ID of the exchange/dispute to act on. Obtain from get_exchanges or the response of commit_to_offer.
configIdstringyesBoson/Fermion Protocol deployment identifier. Format: '<env>-<chainId>-<index>' e.g. 'production-137-0' (Polygon mainnet), 'testing-80002-0' (Amoy testnet). Call get_config_ids to list all valid values for this server.
signerAddressstringyesEthereum address that will sign and send this transaction. Must match the wallet that will sign the returned transaction locally.

Related