agentic-commerce

v1.0.0
io.bosonprotocol/agentic-commerce Checked 2 days ago Published 4 months ago

MCP server for Boson Protocol — on-chain agentic commerce for physical & digital goods.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

get_config_ids

Returns all valid configId values for this server. Call first to discover which network/deployment to use. No auth required.

get_funds

Reads treasury fund balances for sellers and buyers from the Boson subgraph. Supports pagination/ordering/filtering. Read-only — signerAddress not required. Returns: array of { tokenAddress, availableAmount, accountId }.

ParameterTypeDescription
configId *stringBoson/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 value…
fundsFilterobject
fundsFirstnumber
fundsOrderBystring
fundsOrderDirectionstring
fundsSkipnumber

get_disputes

Reads dispute records from the Boson subgraph. Supports pagination, ordering, and filtering by buyer/seller/state. Read-only. Returns: array of dispute entities with exchangeId, state, timeout.

ParameterTypeDescription
configId *stringBoson/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 value…
disputesFilterobject
disputesFirstnumber
disputesOrderBystring
disputesOrderDirectionstring
disputesSkipnumber

get_dispute_by_id

Reads a single dispute by its ID (equals the exchangeId). Read-only. Returns: dispute entity with state, timeout, buyerPercent. Use get_disputes to search first.

ParameterTypeDescription
configId *stringBoson/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 value…
disputeId *stringNumeric ID of the dispute to retrieve. Note: disputeId equals the exchangeId of the associated exchange.
queryVarsOptional additional subgraph query variables for field selection. Leave empty for default fields.

get_exchanges

Reads exchange records (offer commitments) from the Boson subgraph. Filter by buyer/seller/state. Read-only. Returns: array of exchanges with offerId, state (Committed/Redeemed/Completed/Disputed/Cancelled/Revoked), and voucher details.

ParameterTypeDescription
configId *stringBoson/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 value…
exchangesFilterobject
exchangesFirstnumber
exchangesOrderBystring
exchangesOrderDirectionstring
exchangesSkipnumber

get_offers

Reads offer listings from the Boson subgraph. Supports pagination, ordering, and filtering (e.g. by sellerId). Read-only. Returns: array of offers with price, deposit, dates, and quantity.

ParameterTypeDescription
configId *stringBoson/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 value…
exchangesFilterobject
exchangesFirstnumber
exchangesOrderBystring
exchangesOrderDirectionstring
exchangesSkipnumber
includeExchangesboolean
offersFilterobject
offersFirstnumber
offersOrderBystring
offersOrderDirectionstring
offersSkipnumber

get_sellers

Reads seller account entities from the Boson subgraph. Optionally includes related offers, exchanges, funds, and logs. Read-only. Returns: array of seller entities with addresses and metadataUri.

ParameterTypeDescription
configId *stringBoson/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 value…
includeExchangesboolean
includeFundsboolean
includeLogsboolean
includeOffersboolean
sellersFilterobject
sellersFirstnumber
sellersOrderBystring
sellersOrderDirectionstring
sellersSkipnumber

get_dispute_resolvers

Reads registered dispute resolver entities. Use this to find a valid disputeResolverId for create_offer. Read-only. Returns: array of resolvers with ID, fees, escalationResponsePeriod, and supported tokens.

ParameterTypeDescription
configId *stringBoson/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 value…
disputeResolversFilterobject
disputeResolversFirstnumber
disputeResolversOrderBystring
disputeResolversOrderDirectionstring
disputeResolversSkipnumber

create_offer

Creates a product offer. Caller must have a seller account (create_seller first). Prerequisite: store metadata first with store_product_v1_metadata or store_base_metadata to get metadataUri/metadataHash. All dates in milliseconds; amounts as strings in wei. Returns unsigned tx — sign locally with your wallet → send_signed_transaction, or executionMode='metaTx'.

ParameterTypeDescription
buyerCancellationPenalty *Amount buyer forfeits on cancel, in same unit as price. Must be <= price. Pass as string.
configId *stringBoson/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 value…
disputePeriodDurationInMS *numberDuration in ms for buyer to raise a dispute after redeeming. Example: 604800000 = 7 days.
metadataHash *stringKeccak256 hash of the metadata JSON. Returned alongside metadataUri from the store_*_metadata tools.
metadataUri *stringIPFS URI pointing to the offer metadata JSON. Obtain by calling store_product_v1_metadata, store_bundle_metadata, or store_base_metadata.
price *stringOffer price in the exchange token's smallest unit (wei). Pass as string to avoid precision loss, e.g. '1000000000000000000' = 1 ETH.
quantityAvailable *numberHow many times this offer can be committed to. Must be 1 when creator='BUYER'.
resolutionPeriodDurationInMS *numberDuration in ms to respond to a resolution proposal before it expires. Example: 259200000 = 3 days.
sellerDeposit *Seller collateral in same unit as price. Released to seller on completion or forfeited on dispute. Pass as string.
signerAddress *Ethereum address that will sign and send this transaction. Must match the wallet that will sign the returned transaction locally.
validFromDateInMS *numberUnix timestamp in milliseconds when the offer becomes active. Example: Date.now() for immediate.
validUntilDateInMS *numberUnix timestamp in milliseconds when the offer can no longer be committed to.
voucherRedeemableFromDateInMS *numberTimestamp in ms from which buyer can redeem. Must be >= validFromDateInMS.
voucherRedeemableUntilDateInMS *numberTimestamp in ms after which voucher cannot be redeemed. Set to 0 to use voucherValidDurationInMS instead.
voucherValidDurationInMS *numberVoucher is redeemable for this many ms after commit. Set to 0 to use voucherRedeemableUntilDateInMS instead.
agentIdOptional dACP agent facilitating this offer. Omit or pass '0' if no agent.
collectionIndexIndex of the seller's NFT collection for vouchers. Omit to use default (index 0).
creatorstring'SELLER' (default) = seller creates offer. 'BUYER' = buyer-initiated offer, quantity must be 1.
disputeResolverIdstringID of the dispute resolver for escalated disputes. Call get_dispute_resolvers to list available resolvers.
drMutualizerAddressOptional dispute resolver mutualizer contract address that pools resolution funds.
exchangeTokenAddressstringERC-20 token accepted for payment. Omit or use address(0) for native ETH. Call get_supported_tokens for valid values.
executionModestring'direct' = standard on-chain tx (sign locally with your wallet → send_signed_transaction). 'metaTx' = gasless relay via Biconomy (send_meta_transaction). Defaults to 'direct'.
feeLimitMax protocol fee the seller accepts in same token unit. Pass as string.
priceTypenumber0 = static price, 1 = discovery price (auction).
royaltyInfoobject

create_offer_with_condition

Creates an offer gated by token-ownership (e.g. hold an ERC-721 to commit). Same prerequisites as create_offer plus a condition object specifying the gate token, method, and threshold. Returns unsigned transaction data.

ParameterTypeDescription
buyerCancellationPenalty *Amount buyer forfeits on cancel, in same unit as price. Must be <= price. Pass as string.
condition *object
configId *stringBoson/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 value…
disputePeriodDurationInMS *numberDuration in ms for buyer to raise a dispute after redeeming. Example: 604800000 = 7 days.
metadataHash *stringKeccak256 hash of the metadata JSON. Returned alongside metadataUri from the store_*_metadata tools.
metadataUri *stringIPFS URI pointing to the offer metadata JSON. Obtain by calling store_product_v1_metadata, store_bundle_metadata, or store_base_metadata.
price *Offer price in the exchange token's smallest unit (wei). Pass as string to avoid precision loss, e.g. '1000000000000000000' = 1 ETH.
quantityAvailable *numberHow many times this offer can be committed to. Must be 1 when creator='BUYER'.
resolutionPeriodDurationInMS *numberDuration in ms to respond to a resolution proposal before it expires. Example: 259200000 = 3 days.
sellerDeposit *Seller collateral in same unit as price. Released to seller on completion or forfeited on dispute. Pass as string.
signerAddress *Ethereum address that will sign and send this transaction. Must match the wallet that will sign the returned transaction locally.
validFromDateInMS *numberUnix timestamp in milliseconds when the offer becomes active. Example: Date.now() for immediate.
validUntilDateInMS *numberUnix timestamp in milliseconds when the offer can no longer be committed to.
voucherRedeemableFromDateInMS *numberTimestamp in ms from which buyer can redeem. Must be >= validFromDateInMS.
voucherRedeemableUntilDateInMS *numberTimestamp in ms after which voucher cannot be redeemed. Set to 0 to use voucherValidDurationInMS instead.
voucherValidDurationInMS *numberVoucher is redeemable for this many ms after commit. Set to 0 to use voucherRedeemableUntilDateInMS instead.
agentIdOptional dACP agent facilitating this offer. Omit or pass '0' if no agent.
collectionIndexIndex of the seller's NFT collection for vouchers. Omit to use default (index 0).
creatorstring'SELLER' (default) = seller creates offer. 'BUYER' = buyer-initiated offer, quantity must be 1.
disputeResolverIdstringID of the dispute resolver for escalated disputes. Call get_dispute_resolvers to list available resolvers.
drMutualizerAddressOptional dispute resolver mutualizer contract address that pools resolution funds.
exchangeTokenAddressERC-20 token accepted for payment. Omit or use address(0) for native ETH. Call get_supported_tokens for valid values.
executionModestring'direct' = standard on-chain tx (sign locally with your wallet → send_signed_transaction). 'metaTx' = gasless relay via Biconomy (send_meta_transaction). Defaults to 'direct'.
feeLimitMax protocol fee the seller accepts in same token unit. Pass as string.
priceTypenumber0 = static price, 1 = discovery price (auction).
royaltyInfoobject

create_buyer

Creates a buyer account for signerAddress. Required before a buyer can commit to seller-initiated offers for the first time. No prerequisites. Returns unsigned transaction data.

ParameterTypeDescription
configId *stringBoson/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 value…
signerAddress *stringEthereum address that will sign and send this transaction. Must match the wallet that will sign the returned transaction locally.

sign_full_offer

Generates EIP-712 typed data for a non-listed (private) offer that the offer creator must sign. Call before create_offer_and_commit or void_non_listed_offer. Returns: typed data structure — sign it locally with your wallet (EIP-712), then use the signature in the next step.

ParameterTypeDescription
buyerCancellationPenalty *Amount buyer forfeits on cancel, in same unit as price. Must be <= price. Pass as string.
buyerId *Numeric ID of the buyer entity. Use '0' for seller-initiated offers.
committer *Ethereum address of the buyer committing in the same transaction.
configId *stringBoson/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 value…
disputePeriodDurationInMS *numberDuration in ms for buyer to raise a dispute after redeeming. Example: 604800000 = 7 days.
metadataHash *stringKeccak256 hash of the metadata JSON. Returned alongside metadataUri from the store_*_metadata tools.
metadataUri *stringIPFS URI pointing to the offer metadata JSON. Obtain by calling store_product_v1_metadata, store_bundle_metadata, or store_base_metadata.
offerCreator *stringEthereum address of the seller creating this non-listed offer. Must match the seller's assistant address.
price *Offer price in the exchange token's smallest unit (wei). Pass as string to avoid precision loss, e.g. '1000000000000000000' = 1 ETH.
quantityAvailable *numberHow many times this offer can be committed to. Must be 1 when creator='BUYER'.
resolutionPeriodDurationInMS *numberDuration in ms to respond to a resolution proposal before it expires. Example: 259200000 = 3 days.
sellerDeposit *Seller collateral in same unit as price. Released to seller on completion or forfeited on dispute. Pass as string.
sellerId *Numeric ID of the seller entity. Obtain via get_sellers_by_address.
signerAddress *Ethereum address that will sign and send this transaction. Must match the wallet that will sign the returned transaction locally.
validFromDateInMS *numberUnix timestamp in milliseconds when the offer becomes active. Example: Date.now() for immediate.
validUntilDateInMS *numberUnix timestamp in milliseconds when the offer can no longer be committed to.
voucherRedeemableFromDateInMS *numberTimestamp in ms from which buyer can redeem. Must be >= validFromDateInMS.
voucherRedeemableUntilDateInMS *numberTimestamp in ms after which voucher cannot be redeemed. Set to 0 to use voucherValidDurationInMS instead.
voucherValidDurationInMS *numberVoucher is redeemable for this many ms after commit. Set to 0 to use voucherRedeemableUntilDateInMS instead.
agentIdOptional dACP agent facilitating this offer. Omit or pass '0' if no agent.
collectionIndexstringIndex of the seller's NFT collection for vouchers. Omit to use default (index 0).
conditionobject
conditionalTokenIdOptional token ID of the NFT gate token used by this specific commit (for SpecificToken gating type).
creatorstring'SELLER' (default) = seller creates offer. 'BUYER' = buyer-initiated offer, quantity must be 1.
disputeResolverIdstringID of the dispute resolver for escalated disputes. Call get_dispute_resolvers to list available resolvers.
drMutualizerAddressOptional dispute resolver mutualizer contract address that pools resolution funds.
exchangeTokenAddressERC-20 token accepted for payment. Omit or use address(0) for native ETH. Call get_supported_tokens for valid values.
executionModestring'direct' = standard on-chain tx (sign locally with your wallet → send_signed_transaction). 'metaTx' = gasless relay via Biconomy (send_meta_transaction). Defaults to 'direct'.
feeLimitMax protocol fee the seller accepts in same token unit. Pass as string.
priceTypenumber0 = static price, 1 = discovery price (auction).
royaltyInfoobject
useDepositedFundsbooleanIf true, use funds already deposited in the protocol treasury instead of transferring from the wallet.

create_offer_and_commit

Atomically creates a private offer and commits a specific buyer in one transaction. Prerequisite: call sign_full_offer, sign the returned typed data locally with your wallet (EIP-712), and provide the signature here. Used for private/bilateral trades. Returns unsigned transaction data.

ParameterTypeDescription
buyerCancellationPenalty *Amount buyer forfeits on cancel, in same unit as price. Must be <= price. Pass as string.
buyerId *Numeric ID of the buyer entity. Use '0' for seller-initiated offers.
committer *Ethereum address of the buyer committing in the same transaction.
configId *stringBoson/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 value…
disputePeriodDurationInMS *numberDuration in ms for buyer to raise a dispute after redeeming. Example: 604800000 = 7 days.
metadataHash *stringKeccak256 hash of the metadata JSON. Returned alongside metadataUri from the store_*_metadata tools.
metadataUri *stringIPFS URI pointing to the offer metadata JSON. Obtain by calling store_product_v1_metadata, store_bundle_metadata, or store_base_metadata.
offerCreator *stringEthereum address of the seller creating this non-listed offer. Must match the seller's assistant address.
price *Offer price in the exchange token's smallest unit (wei). Pass as string to avoid precision loss, e.g. '1000000000000000000' = 1 ETH.
quantityAvailable *numberHow many times this offer can be committed to. Must be 1 when creator='BUYER'.
resolutionPeriodDurationInMS *numberDuration in ms to respond to a resolution proposal before it expires. Example: 259200000 = 3 days.
sellerDeposit *Seller collateral in same unit as price. Released to seller on completion or forfeited on dispute. Pass as string.
sellerId *Numeric ID of the seller entity. Obtain via get_sellers_by_address.
signature *stringECDSA signature over the offer typed data. Workflow: sign_full_offer → sign the returned typed data locally with your wallet (EIP-712) → use result here.
signerAddress *Ethereum address that will sign and send this transaction. Must match the wallet that will sign the returned transaction locally.
validFromDateInMS *numberUnix timestamp in milliseconds when the offer becomes active. Example: Date.now() for immediate.
validUntilDateInMS *numberUnix timestamp in milliseconds when the offer can no longer be committed to.
voucherRedeemableFromDateInMS *numberTimestamp in ms from which buyer can redeem. Must be >= validFromDateInMS.
voucherRedeemableUntilDateInMS *numberTimestamp in ms after which voucher cannot be redeemed. Set to 0 to use voucherValidDurationInMS instead.
voucherValidDurationInMS *numberVoucher is redeemable for this many ms after commit. Set to 0 to use voucherRedeemableUntilDateInMS instead.
agentIdOptional dACP agent facilitating this offer. Omit or pass '0' if no agent.
collectionIndexstringIndex of the seller's NFT collection for vouchers. Omit to use default (index 0).
conditionobject
conditionalTokenIdOptional token ID of the NFT gate token used by this specific commit (for SpecificToken gating type).
creatorstring'SELLER' (default) = seller creates offer. 'BUYER' = buyer-initiated offer, quantity must be 1.
disputeResolverIdstringID of the dispute resolver for escalated disputes. Call get_dispute_resolvers to list available resolvers.
drMutualizerAddressOptional dispute resolver mutualizer contract address that pools resolution funds.
exchangeTokenAddressERC-20 token accepted for payment. Omit or use address(0) for native ETH. Call get_supported_tokens for valid values.
executionModestring'direct' = standard on-chain tx (sign locally with your wallet → send_signed_transaction). 'metaTx' = gasless relay via Biconomy (send_meta_transaction). Defaults to 'direct'.
feeLimitMax protocol fee the seller accepts in same token unit. Pass as string.
priceTypenumber0 = static price, 1 = discovery price (auction).
royaltyInfoobject
useDepositedFundsbooleanIf true, use funds already deposited in the protocol treasury instead of transferring from the wallet.

create_offer_commit_and_redeem

Atomically creates a private offer, commits a specific buyer, and immediately redeems the voucher in a single transaction via the OrchestrationHandler. Same prerequisites as create_offer_and_commit (sign_full_offer + EIP-712 signature). Use for instant-fulfilment private trades. Returns unsigned transaction data.

ParameterTypeDescription
buyerCancellationPenalty *Amount buyer forfeits on cancel, in same unit as price. Must be <= price. Pass as string.
buyerId *Numeric ID of the buyer entity. Use '0' for seller-initiated offers.
committer *Ethereum address of the buyer committing in the same transaction.
configId *stringBoson/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 value…
disputePeriodDurationInMS *numberDuration in ms for buyer to raise a dispute after redeeming. Example: 604800000 = 7 days.
metadataHash *stringKeccak256 hash of the metadata JSON. Returned alongside metadataUri from the store_*_metadata tools.
metadataUri *stringIPFS URI pointing to the offer metadata JSON. Obtain by calling store_product_v1_metadata, store_bundle_metadata, or store_base_metadata.
offerCreator *stringEthereum address of the seller creating this non-listed offer. Must match the seller's assistant address.
price *Offer price in the exchange token's smallest unit (wei). Pass as string to avoid precision loss, e.g. '1000000000000000000' = 1 ETH.
quantityAvailable *numberHow many times this offer can be committed to. Must be 1 when creator='BUYER'.
resolutionPeriodDurationInMS *numberDuration in ms to respond to a resolution proposal before it expires. Example: 259200000 = 3 days.
sellerDeposit *Seller collateral in same unit as price. Released to seller on completion or forfeited on dispute. Pass as string.
sellerId *Numeric ID of the seller entity. Obtain via get_sellers_by_address.
signature *stringECDSA signature over the offer typed data. Workflow: sign_full_offer → sign the returned typed data locally with your wallet (EIP-712) → use result here.
signerAddress *Ethereum address that will sign and send this transaction. Must match the wallet that will sign the returned transaction locally.
validFromDateInMS *numberUnix timestamp in milliseconds when the offer becomes active. Example: Date.now() for immediate.
validUntilDateInMS *numberUnix timestamp in milliseconds when the offer can no longer be committed to.
voucherRedeemableFromDateInMS *numberTimestamp in ms from which buyer can redeem. Must be >= validFromDateInMS.
voucherRedeemableUntilDateInMS *numberTimestamp in ms after which voucher cannot be redeemed. Set to 0 to use voucherValidDurationInMS instead.
voucherValidDurationInMS *numberVoucher is redeemable for this many ms after commit. Set to 0 to use voucherRedeemableUntilDateInMS instead.
agentIdOptional dACP agent facilitating this offer. Omit or pass '0' if no agent.
collectionIndexstringIndex of the seller's NFT collection for vouchers. Omit to use default (index 0).
conditionobject
conditionalTokenIdOptional token ID of the NFT gate token used by this specific commit (for SpecificToken gating type).
creatorstring'SELLER' (default) = seller creates offer. 'BUYER' = buyer-initiated offer, quantity must be 1.
disputeResolverIdstringID of the dispute resolver for escalated disputes. Call get_dispute_resolvers to list available resolvers.
drMutualizerAddressOptional dispute resolver mutualizer contract address that pools resolution funds.
exchangeTokenAddressERC-20 token accepted for payment. Omit or use address(0) for native ETH. Call get_supported_tokens for valid values.
executionModestring'direct' = standard on-chain tx (sign locally with your wallet → send_signed_transaction). 'metaTx' = gasless relay via Biconomy (send_meta_transaction). Defaults to 'direct'.
feeLimitMax protocol fee the seller accepts in same token unit. Pass as string.
priceTypenumber0 = static price, 1 = discovery price (auction).
royaltyInfoobject
useDepositedFundsbooleanIf true, use funds already deposited in the protocol treasury instead of transferring from the wallet.

void_offer

Voids a listed offer so it can no longer be committed to. Caller must be the seller assistant. Existing exchanges are unaffected. Returns unsigned transaction data.

ParameterTypeDescription
configId *stringBoson/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 value…
offerId *stringID of the listed offer to void. Caller must be the seller assistant. Existing exchanges are unaffected.
signerAddress *stringEthereum address that will sign and send this transaction. Must match the wallet that will sign the returned transaction locally.
executionModestring'direct' = standard on-chain tx (sign locally with your wallet → send_signed_transaction). 'metaTx' = gasless relay via Biconomy (send_meta_transaction). Defaults to 'direct'.

void_non_listed_offer

Voids a private (non-listed) offer before it is fulfilled. Prerequisite: call sign_full_offer and sign the returned typed data locally with your wallet (EIP-712) to obtain the signature. Returns unsigned transaction data.

ParameterTypeDescription
buyerCancellationPenalty *Amount buyer forfeits on cancel, in same unit as price. Must be <= price. Pass as string.
buyerId *Numeric ID of the buyer entity. Use '0' for seller-initiated offers.
configId *stringBoson/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 value…
disputePeriodDurationInMS *numberDuration in ms for buyer to raise a dispute after redeeming. Example: 604800000 = 7 days.
metadataHash *stringKeccak256 hash of the metadata JSON. Returned alongside metadataUri from the store_*_metadata tools.
metadataUri *stringIPFS URI pointing to the offer metadata JSON. Obtain by calling store_product_v1_metadata, store_bundle_metadata, or store_base_metadata.
price *Offer price in the exchange token's smallest unit (wei). Pass as string to avoid precision loss, e.g. '1000000000000000000' = 1 ETH.
quantityAvailable *numberHow many times this offer can be committed to. Must be 1 when creator='BUYER'.
resolutionPeriodDurationInMS *numberDuration in ms to respond to a resolution proposal before it expires. Example: 259200000 = 3 days.
sellerDeposit *Seller collateral in same unit as price. Released to seller on completion or forfeited on dispute. Pass as string.
sellerId *Numeric ID of the seller entity. Obtain via get_sellers_by_address.
signerAddress *Ethereum address that will sign and send this transaction. Must match the wallet that will sign the returned transaction locally.
validFromDateInMS *numberUnix timestamp in milliseconds when the offer becomes active. Example: Date.now() for immediate.
validUntilDateInMS *numberUnix timestamp in milliseconds when the offer can no longer be committed to.
voucherRedeemableFromDateInMS *numberTimestamp in ms from which buyer can redeem. Must be >= validFromDateInMS.
voucherRedeemableUntilDateInMS *numberTimestamp in ms after which voucher cannot be redeemed. Set to 0 to use voucherValidDurationInMS instead.
voucherValidDurationInMS *numberVoucher is redeemable for this many ms after commit. Set to 0 to use voucherRedeemableUntilDateInMS instead.
agentIdOptional dACP agent facilitating this offer. Omit or pass '0' if no agent.
collectionIndexIndex of the seller's NFT collection for vouchers. Omit to use default (index 0).
conditionobject
creatorstring'SELLER' (default) = seller creates offer. 'BUYER' = buyer-initiated offer, quantity must be 1.
disputeResolverIdstringID of the dispute resolver for escalated disputes. Call get_dispute_resolvers to list available resolvers.
drMutualizerAddressOptional dispute resolver mutualizer contract address that pools resolution funds.
exchangeTokenAddressERC-20 token accepted for payment. Omit or use address(0) for native ETH. Call get_supported_tokens for valid values.
executionModestring'direct' = standard on-chain tx (sign locally with your wallet → send_signed_transaction). 'metaTx' = gasless relay via Biconomy (send_meta_transaction). Defaults to 'direct'.
feeLimitMax protocol fee the seller accepts in same token unit. Pass as string.
priceTypenumber0 = static price, 1 = discovery price (auction).
royaltyInfoobject
useDepositedFundsbooleanIf true, use funds already deposited in the protocol treasury instead of transferring from the wallet.

void_non_listed_offer_batch

Voids multiple private offers atomically. Same prerequisite as void_non_listed_offer, but for an array of full offer objects. Returns unsigned transaction data.

ParameterTypeDescription
configId *stringBoson/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 value…
fullOffers *array
signerAddress *Ethereum address that will sign and send this transaction. Must match the wallet that will sign the returned transaction locally.

create_seller

Creates a seller account on Boson Protocol. Required before creating any offers. signerAddress is automatically set as admin, assistant, and treasury. Provide seller metadata and royaltyPercentage. Returns unsigned transaction data.

ParameterTypeDescription
authTokenId *NFT token ID used as auth token (e.g. Lens profile ID). Pass '0' if not using auth tokens.
authTokenType *numberAuth token type: 0=None, 1=Lens Protocol profile NFT.
configId *stringBoson/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 value…
contactPreference *string
kind *string
royaltyPercentage *stringDefault resale royalty in basis points (0–10000). Applied to all offers unless overridden.
signerAddress *stringEthereum address that will sign and send this transaction. Must match the wallet that will sign the returned transaction locally.
type *string
contactLinksarray
contractUristringOptional URI for OpenSea-style storefront metadata (defaults to empty string, meaning none). When set, it is fetched to copy it to The Graph's IPFS node, so it must be an ipfs:// URI, a CID, or an htt…
descriptionstring
executionModestring'direct' = standard on-chain tx (sign locally with your wallet → send_signed_transaction). 'metaTx' = gasless relay via Biconomy (send_meta_transaction). Defaults to 'direct'.
imagesarray
legalTradingNamestring
namestring
salesChannelsarray
socialLinksarray
websitestring

update_seller

Updates an existing seller account. Caller must be the current seller admin (signerAddress). Use get_sellers_by_address to retrieve the seller id first. Returns unsigned transaction data.

ParameterTypeDescription
authTokenId *stringNFT token ID used as auth token (e.g. Lens profile ID). Pass '0' if not using auth tokens.
authTokenType *numberAuth token type: 0=None, 1=Lens Protocol profile NFT.
configId *stringBoson/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 value…
contactPreference *string
id *Numeric ID of the existing seller entity to update. Obtain from get_sellers_by_address.
kind *string
signerAddress *stringEthereum address that will sign and send this transaction. Must match the wallet that will sign the returned transaction locally.
type *string
contactLinksarray
descriptionstring
executionModestring'direct' = standard on-chain tx (sign locally with your wallet → send_signed_transaction). 'metaTx' = gasless relay via Biconomy (send_meta_transaction). Defaults to 'direct'.
imagesarray
legalTradingNamestring
namestring
salesChannelsarray
socialLinksarray
websitestring

send_signed_transaction

Broadcasts a signed raw Ethereum transaction to the network. signedTransaction must be 0x-prefixed RLP-encoded hex obtained from local wallet signing (e.g. ethers `wallet.signTransaction(tx)`). Returns: transaction hash, block number, and gas used.

ParameterTypeDescription
configId *stringBoson/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 value…
signedTransaction *stringRLP-encoded signed Ethereum transaction as 0x-prefixed hex string. Obtain from local wallet signing (e.g. ethers `wallet.signTransaction(tx)`).

send_meta_transaction

Relays a pre-signed meta-transaction via Biconomy so the user pays no gas. Requires sigR/sigS/sigV from a locally-signed EIP-712 payload. Use when the target operation requires metaTx relay. Optionally accepts transferAuthorizations (from the sign_receive_with_* tools, completed with your local signature) so the protocol can pull ERC-20 tokens without a prior approve_exchange_token tx. Returns: relay transaction data.

ParameterTypeDescription
configId *stringBoson/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 value…
functionName *string
functionSignature *string
nonce *string | number
sigR *string
sigS *string
sigV *string | number
signerAddress *stringEthereum address that will sign and send this transaction. Must match the wallet that will sign the returned transaction locally.
transferAuthorizationsarrayOptional ERC-20 transfer authorizations that let the protocol pull tokens without a prior approve_exchange_token tx (e.g. commit_to_offer or deposit_funds in metaTx mode). Build each entry with the ma…

send_native_meta_transaction

Relays a native meta-transaction (EIP-712 signed function call) via Biconomy. Requires ABI-encoded function signature and sigR/sigS/sigV from a locally-signed EIP-712 payload. Returns: relay transaction data.

ParameterTypeDescription
configId *stringBoson/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 value…
contractAddress *stringValid Ethereum address (e.g. '0xAbCd...' or '0xabcd...'). Mixed-case addresses are checksum-validated; all-lowercase and all-uppercase addresses are also accepted.
functionSignature *string
sigR *string
sigS *string
sigV *string | number
signerAddress *Ethereum address that will sign and send this transaction. Must match the wallet that will sign the returned transaction locally.

send_forwarded_meta_transaction

Relays a Biconomy forwarded meta-transaction (ERC-20 gas payment). Requires a complete ERC20ForwardRequest and domain separator signature. Returns: relay transaction data.

ParameterTypeDescription
configId *stringBoson/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 value…
contractAddress *stringValid Ethereum address (e.g. '0xAbCd...' or '0xabcd...'). Mixed-case addresses are checksum-validated; all-lowercase and all-uppercase addresses are also accepted.
domainSeparator *string
request *object
signature *string
signerAddress *Ethereum address that will sign and send this transaction. Must match the wallet that will sign the returned transaction locally.

withdraw_funds

Withdraws funds from an entity's protocol treasury to the entity's treasury address. Sellers withdraw proceeds; buyers withdraw refunds. Caller must control the entity via signerAddress. Returns unsigned transaction data.

ParameterTypeDescription
configId *stringBoson/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 value…
entityId *stringNumeric ID of the seller or buyer entity withdrawing funds.
list *array
signerAddress *Ethereum address that will sign and send this transaction. Must match the wallet that will sign the returned transaction locally.
executionModestring'direct' = standard on-chain tx (sign locally with your wallet → send_signed_transaction). 'metaTx' = gasless relay via Biconomy (send_meta_transaction). Defaults to 'direct'.

deposit_funds

Deposits ERC-20 or native tokens into an entity's protocol treasury (e.g. seller deposit). For ERC-20, call approve_exchange_token first. In metaTx mode, you can skip the approval by passing transferAuthorizations (built with a sign_receive_with_* tool) to send_meta_transaction. Returns unsigned transaction data.

ParameterTypeDescription
amount *Amount in wei. For ERC-20, approve_exchange_token must be called first, unless relaying in metaTx mode with transferAuthorizations passed to send_meta_transaction. Pass as string.
configId *stringBoson/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 value…
entityId *stringNumeric ID of the entity to credit. Must match signerAddress's seller account.
signerAddress *Ethereum address that will sign and send this transaction. Must match the wallet that will sign the returned transaction locally.
tokenAddress *stringERC-20 token to deposit. Use address(0) for native ETH.
executionModestring'direct' = standard on-chain tx (sign locally with your wallet → send_signed_transaction). 'metaTx' = gasless relay via Biconomy (send_meta_transaction). Defaults to 'direct'.

extend_dispute_timeout

Extends the deadline of an active dispute. Dispute must be in 'Resolving' state. Either party can call this. Returns unsigned transaction data.

ParameterTypeDescription
configId *stringBoson/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 value…
exchangeId *stringNumeric ID of the exchange/dispute to act on. Obtain from get_exchanges or the response of commit_to_offer.
newDisputeTimeout *New absolute Unix timestamp in SECONDS (not ms) for the dispute deadline. Must be later than current timeout.
signerAddress *stringEthereum address that will sign and send this transaction. Must match the wallet that will sign the returned transaction locally.
executionModestring'direct' = standard on-chain tx (sign locally with your wallet → send_signed_transaction). 'metaTx' = gasless relay via Biconomy (send_meta_transaction). Defaults to 'direct'.

expire_dispute

Marks a dispute as expired after its resolution period passes. Permissionless — anyone can call. Exchange must be in 'Disputed' state past its timeout. Returns unsigned transaction data.

ParameterTypeDescription
configId *stringBoson/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 value…
exchangeId *stringNumeric ID of the exchange/dispute to act on. Obtain from get_exchanges or the response of commit_to_offer.
signerAddress *stringEthereum address that will sign and send this transaction. Must match the wallet that will sign the returned transaction locally.

expire_dispute_batch

Marks multiple expired disputes in one transaction. All exchanges must be in 'Disputed' state past their respective timeouts. Permissionless. Returns unsigned transaction data.

ParameterTypeDescription
configId *stringBoson/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 value…
exchangeIds *arrayArray of exchange IDs whose dispute period has passed. All must be in 'Disputed' state past their timeout.
signerAddress *stringEthereum address that will sign and send this transaction. Must match the wallet that will sign the returned transaction locally.

resolve_dispute

Resolves a dispute by mutual agreement. Workflow: (1) create_dispute_resolution_proposal generates typed data, (2) both parties sign the typed data locally with their wallet (EIP-712), (3) either party submits sigR/sigS/sigV here. Returns unsigned transaction data.

ParameterTypeDescription
buyerPercentBasisPoints *Agreed buyer share in basis points (0–10000). Both parties must sign the same value. Obtain via create_dispute_resolution_proposal then sign the typed data locally with each party's wallet (EIP-712)…
configId *stringBoson/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 value…
exchangeId *stringNumeric ID of the exchange/dispute to act on. Obtain from get_exchanges or the response of commit_to_offer.
sigR *string32-byte R component of the ECDSA resolution signature as 0x-prefixed hex. From the locally-signed EIP-712 signature parameters.
sigS *string32-byte S component as 0x-prefixed hex. From the locally-signed EIP-712 signature parameters.
sigV *Recovery byte V: 27 or 28. From the locally-signed EIP-712 signature parameters.
signerAddress *stringEthereum address that will sign and send this transaction. Must match the wallet that will sign the returned transaction locally.
executionModestring'direct' = standard on-chain tx (sign locally with your wallet → send_signed_transaction). 'metaTx' = gasless relay via Biconomy (send_meta_transaction). Defaults to 'direct'.

raise_dispute

Raises a dispute on a redeemed exchange. Caller must be the buyer. Must be called within disputePeriodDurationInMS after redemption. Returns unsigned transaction data.

ParameterTypeDescription
configId *stringBoson/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 value…
exchangeId *stringNumeric ID of the exchange/dispute to act on. Obtain from get_exchanges or the response of commit_to_offer.
signerAddress *stringEthereum address that will sign and send this transaction. Must match the wallet that will sign the returned transaction locally.
executionModestring'direct' = standard on-chain tx (sign locally with your wallet → send_signed_transaction). 'metaTx' = gasless relay via Biconomy (send_meta_transaction). Defaults to 'direct'.

retract_dispute

Retracts a raised dispute, releasing seller deposit and restoring completion flow. Caller must be the buyer who raised it. Returns unsigned transaction data.

ParameterTypeDescription
configId *stringBoson/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 value…
exchangeId *stringNumeric ID of the exchange/dispute to act on. Obtain from get_exchanges or the response of commit_to_offer.
signerAddress *stringEthereum address that will sign and send this transaction. Must match the wallet that will sign the returned transaction locally.
executionModestring'direct' = standard on-chain tx (sign locally with your wallet → send_signed_transaction). 'metaTx' = gasless relay via Biconomy (send_meta_transaction). Defaults to 'direct'.

escalate_dispute

Escalates a stale dispute to the third-party dispute resolver. Caller must be the buyer. Resolver's escalation fee must be covered. Returns unsigned transaction data.

ParameterTypeDescription
configId *stringBoson/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 value…
exchangeId *stringNumeric ID of the exchange/dispute to act on. Obtain from get_exchanges or the response of commit_to_offer.
signerAddress *stringEthereum address that will sign and send this transaction. Must match the wallet that will sign the returned transaction locally.
executionModestring'direct' = standard on-chain tx (sign locally with your wallet → send_signed_transaction). 'metaTx' = gasless relay via Biconomy (send_meta_transaction). Defaults to 'direct'.

decide_dispute

Decides an escalated dispute. Caller must be the dispute resolver assigned to the offer's disputeResolverId. Specify buyerPercent in basis points (0=all to seller, 10000=all to buyer). Returns unsigned transaction data.

ParameterTypeDescription
buyerPercent *Percentage of disputed funds to buyer in basis points (0–10000). 10000 = all to buyer, 0 = all to seller.
configId *stringBoson/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 value…
exchangeId *stringNumeric ID of the exchange/dispute to act on. Obtain from get_exchanges or the response of commit_to_offer.
signerAddress *stringEthereum address that will sign and send this transaction. Must match the wallet that will sign the returned transaction locally.

refuse_escalated_dispute

Dispute resolver refuses to decide an escalated dispute. Returns the escalation fee to the buyer and resets dispute to 'Resolving' state. Returns unsigned transaction data.

ParameterTypeDescription
configId *stringBoson/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 value…
exchangeId *stringNumeric ID of the exchange/dispute to act on. Obtain from get_exchanges or the response of commit_to_offer.
signerAddress *stringEthereum address that will sign and send this transaction. Must match the wallet that will sign the returned transaction locally.

expire_escalated_dispute

Expires an escalated dispute once the resolver's response period passes without a decision. Permissionless — anyone can call. Returns unsigned transaction data.

ParameterTypeDescription
configId *stringBoson/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 value…
exchangeId *stringNumeric ID of the exchange/dispute to act on. Obtain from get_exchanges or the response of commit_to_offer.
signerAddress *stringEthereum address that will sign and send this transaction. Must match the wallet that will sign the returned transaction locally.

create_dispute_resolution_proposal

Generates EIP-712 typed data for a mutual dispute resolution proposal. Both buyer and seller must sign the same buyerPercentBasisPoints value locally with their wallet (EIP-712) before calling resolve_dispute. Returns: typed data structure (domain, types, message).

ParameterTypeDescription
buyerPercentBasisPoints *Proposed percentage of disputed funds for the buyer, 0–10000 (basis points). The counterparty must sign this same value.
configId *stringBoson/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 value…
exchangeId *stringNumeric ID of the exchange/dispute to act on. Obtain from get_exchanges or the response of commit_to_offer.
signerAddress *stringEthereum address that will sign and send this transaction. Must match the wallet that will sign the returned transaction locally.

revoke_voucher

Revokes a committed (not yet redeemed) voucher on behalf of the seller, returning funds to the buyer. Caller must be the seller assistant. Returns unsigned transaction data.

ParameterTypeDescription
configId *stringBoson/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 value…
exchangeId *stringNumeric ID of the exchange/dispute to act on. Obtain from get_exchanges or the response of commit_to_offer.
signerAddress *stringEthereum address that will sign and send this transaction. Must match the wallet that will sign the returned transaction locally.
executionModestring'direct' = standard on-chain tx (sign locally with your wallet → send_signed_transaction). 'metaTx' = gasless relay via Biconomy (send_meta_transaction). Defaults to 'direct'.

approve_exchange_token

Grants ERC-20 allowance to the Boson Protocol contract. Must be called before commit_to_offer or deposit_funds when using non-native exchange tokens, unless you relay in metaTx mode with transferAuthorizations (built with a sign_receive_with_* tool) passed to send_meta_transaction. Returns unsigned transaction data.

ParameterTypeDescription
amount *stringAllowance in wei. Use max uint256 string for unlimited: '115792089237316195423570985008687907853269984665640564039457584007913129639935'.
configId *stringBoson/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 value…
exchangeTokenAddress *stringERC-20 token contract address to approve for the Boson Protocol diamond.
signerAddress *Ethereum address that will sign and send this transaction. Must match the wallet that will sign the returned transaction locally.
executionModestring'direct' = standard on-chain tx (sign locally with your wallet → send_signed_transaction). 'metaTx' = gasless relay via Biconomy (send_meta_transaction). Defaults to 'direct'.

sign_receive_with_erc3009_authorization

Generates EIP-712 typed data for an ERC-3009 ReceiveWithAuthorization (e.g. USDC). Authorizes the spender (default: protocol diamond) to pull `value` from signerAddress between validAfter and validBefore. Sign locally with your wallet (EIP-712); add the resulting signature to the returned transferAuthorization { strategy: 'ERC3009', data } and pass it in send_meta_transaction.transferAuthorizations. Returns: typedData to sign + transferAuthorization template.

ParameterTypeDescription
configId *stringBoson/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 value…
exchangeTokenAddress *stringERC-20 token contract address that supports the permit/authorization standard.
signerAddress *Ethereum address that will sign and send this transaction. Must match the wallet that will sign the returned transaction locally.
tokenDomainName *stringEIP-712 domain name of the token contract (e.g. 'USD Coin'). Required for ERC-3009 / EIP-2612 domain separator.
tokenDomainVersion *stringEIP-712 domain version of the token contract (e.g. '2'). Required for ERC-3009 / EIP-2612 domain separator.
validAfter *Unix timestamp in seconds before which the authorization is not valid.
validBefore *Unix timestamp in seconds after which the authorization is no longer valid.
value *stringAmount in wei the spender is authorized to pull from the signer.
spenderOptional spender address. Defaults to the Boson Protocol diamond from SDK config.

sign_receive_with_erc2612_permit

Generates EIP-712 typed data for an EIP-2612 Permit. Authorizes the spender (default: protocol diamond) to pull `value` from signerAddress until `deadline`. Sign locally with your wallet (EIP-712); add the resulting signature to the returned transferAuthorization { strategy: 'EIP2612', data } and pass it in send_meta_transaction.transferAuthorizations. Returns: typedData to sign + transferAuthorization template.

ParameterTypeDescription
configId *stringBoson/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 value…
deadline *Unix timestamp in seconds after which the permit is no longer valid.
exchangeTokenAddress *stringERC-20 token contract address that supports the permit/authorization standard.
signerAddress *Ethereum address that will sign and send this transaction. Must match the wallet that will sign the returned transaction locally.
tokenDomainName *stringEIP-712 domain name of the token contract (e.g. 'USD Coin'). Required for ERC-3009 / EIP-2612 domain separator.
tokenDomainVersion *stringEIP-712 domain version of the token contract (e.g. '2'). Required for ERC-3009 / EIP-2612 domain separator.
value *stringAmount in wei the spender is authorized to pull from the signer.
spenderOptional spender address. Defaults to the Boson Protocol diamond from SDK config.

sign_receive_with_permit2

Generates EIP-712 typed data for a Uniswap Permit2 PermitTransferFrom. Authorizes the spender (default: protocol diamond) to pull `value` from signerAddress until `deadline`. permit2Address defaults to contracts.permit2 from SDK config; permit2Nonce defaults to a random uint256. Sign locally with your wallet (EIP-712); add the resulting signature to the returned transferAuthorization { strategy: 'Permit2', data } and pass it in send_meta_transaction.transferAuthorizations. Returns: typedData to sign + transferAuthorization template.

ParameterTypeDescription
configId *stringBoson/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 value…
deadline *Unix timestamp in seconds after which the Permit2 authorization is no longer valid.
exchangeTokenAddress *stringERC-20 token contract address that supports the permit/authorization standard.
signerAddress *Ethereum address that will sign and send this transaction. Must match the wallet that will sign the returned transaction locally.
value *stringAmount in wei the spender is authorized to pull from the signer.
permit2AddressOptional Uniswap Permit2 contract address. Defaults to contracts.permit2 from SDK config.
permit2NonceOptional Permit2 nonce as a uint256 string. If omitted, a random uint256 is generated.
spenderOptional spender address. Defaults to the Boson Protocol diamond from SDK config.

sign_receive_with_dai_permit

Generates EIP-712 typed data for a DAI-style Permit. Authorizes the spender (default: protocol diamond) to pull DAI-style tokens from signerAddress until `expiry`. Sign locally with your wallet (EIP-712); add the resulting signature to the returned transferAuthorization { strategy: 'DAIPermit', data } and pass it in send_meta_transaction.transferAuthorizations. Returns: typedData to sign + transferAuthorization template.

ParameterTypeDescription
configId *stringBoson/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 value…
exchangeTokenAddress *stringERC-20 token contract address that supports the permit/authorization standard.
expiry *Unix timestamp in seconds after which the DAI-style permit is no longer valid.
signerAddress *Ethereum address that will sign and send this transaction. Must match the wallet that will sign the returned transaction locally.
tokenDomainName *stringEIP-712 domain name of the DAI-style token (e.g. 'Dai Stablecoin').
value *stringAmount in wei the spender is authorized to pull from the signer.
spenderOptional spender address. Defaults to the Boson Protocol diamond from SDK config.

commit_to_offer

Commits to an offer, creating an exchange and minting a voucher NFT. Caller is the buyer (signerAddress) unless 'buyer' param is set. For ERC-20 offers, call approve_exchange_token first. In metaTx mode, you can skip the approval by passing transferAuthorizations (built with a sign_receive_with_* tool) to send_meta_transaction. Returns unsigned transaction data.

ParameterTypeDescription
configId *stringBoson/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 value…
offerId *stringID of the active offer to commit to. Creates an exchange and mints a voucher NFT.
signerAddress *Ethereum address that will sign and send this transaction. Must match the wallet that will sign the returned transaction locally.
buyerstringOptional buyer address if different from signerAddress. When set, executionMode must be 'direct'.
executionModestring'direct' = standard on-chain tx (sign locally with your wallet → send_signed_transaction). 'metaTx' = gasless relay via Biconomy (send_meta_transaction). Defaults to 'direct'.

commit_to_conditional_offer

Commits to a token-gated (conditional) offer using a specific gating tokenId. Caller (signerAddress) must hold the gating token specified by the offer's condition. Use this instead of commit_to_offer for offers created via create_offer_with_condition. Returns unsigned transaction data.

ParameterTypeDescription
configId *stringBoson/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 value…
offerId *stringID of a conditional (token-gated) offer to commit to. Caller must hold the gating token specified by the offer's condition.
signerAddress *Ethereum address that will sign and send this transaction. Must match the wallet that will sign the returned transaction locally.
tokenId *Token ID of the gate token used to qualify for the conditional commit (relevant for ERC-721/1155 and TokenRange gating).
buyerstringOptional buyer address if different from signerAddress. When set, executionMode must be 'direct'.
executionModestring'direct' = standard on-chain tx (sign locally with your wallet → send_signed_transaction). 'metaTx' = gasless relay via Biconomy (send_meta_transaction). Defaults to 'direct'.

commit_to_offer_and_redeem_voucher

Atomically commits to an offer and immediately redeems the voucher in a single transaction via the OrchestrationHandler. Buyer (signerAddress) must already hold any required ERC-20 allowance (approve_exchange_token), or, in metaTx mode, pass transferAuthorizations to send_meta_transaction. Skips voucher transferability and starts the dispute period clock immediately. Returns unsigned transaction data.

ParameterTypeDescription
configId *stringBoson/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 value…
offerId *stringID of the active offer to commit to and immediately redeem in a single transaction. Combines commit_to_offer + redeem_voucher via the OrchestrationHandler.
signerAddress *stringEthereum address that will sign and send this transaction. Must match the wallet that will sign the returned transaction locally.
executionModestring'direct' = standard on-chain tx (sign locally with your wallet → send_signed_transaction). 'metaTx' = gasless relay via Biconomy (send_meta_transaction). Defaults to 'direct'.

commit_to_conditional_offer_and_redeem_voucher

Atomically commits to a token-gated (conditional) offer using a specific gating tokenId and immediately redeems the voucher in a single transaction. Buyer must hold the gating token. Returns unsigned transaction data.

ParameterTypeDescription
configId *stringBoson/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 value…
offerId *stringID of a conditional (token-gated) offer to commit to and immediately redeem in a single transaction.
signerAddress *stringEthereum address that will sign and send this transaction. Must match the wallet that will sign the returned transaction locally.
tokenId *Token ID of the gate token used to qualify for the conditional commit (relevant for ERC-721/1155 and SpecificToken / TokenRange gating).
executionModestring'direct' = standard on-chain tx (sign locally with your wallet → send_signed_transaction). 'metaTx' = gasless relay via Biconomy (send_meta_transaction). Defaults to 'direct'.

commit_to_buyer_offer

Fulfils a buyer-initiated offer (creator='BUYER') by the seller. Caller must be the seller. Provide matching collateral. Returns unsigned transaction data.

ParameterTypeDescription
configId *stringBoson/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 value…
offerId *stringID of a buyer-initiated offer (creator='BUYER') to commit to. The seller fulfils the offer.
signerAddress *Ethereum address that will sign and send this transaction. Must match the wallet that will sign the returned transaction locally.
collectionIndex
drMutualizerAddressValid Ethereum address (e.g. '0xAbCd...' or '0xabcd...'). Mixed-case addresses are checksum-validated; all-lowercase and all-uppercase addresses are also accepted.
executionModestring'direct' = standard on-chain tx (sign locally with your wallet → send_signed_transaction). 'metaTx' = gasless relay via Biconomy (send_meta_transaction). Defaults to 'direct'.
royaltyInfoobject

cancel_voucher

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

ParameterTypeDescription
configId *stringBoson/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 value…
exchangeId *stringNumeric ID of the exchange/dispute to act on. Obtain from get_exchanges or the response of commit_to_offer.
signerAddress *stringEthereum address that will sign and send this transaction. Must match the wallet that will sign the returned transaction locally.
executionModestring'direct' = standard on-chain tx (sign locally with your wallet → send_signed_transaction). 'metaTx' = gasless relay via Biconomy (send_meta_transaction). Defaults to 'direct'.

redeem_voucher

Redeems a voucher, signalling physical receipt of goods and starting the dispute period clock. Caller must be the buyer. After redemption, buyer has disputePeriodDurationInMS to raise a dispute. Returns unsigned transaction data.

ParameterTypeDescription
configId *stringBoson/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 value…
exchangeId *stringNumeric ID of the exchange/dispute to act on. Obtain from get_exchanges or the response of commit_to_offer.
signerAddress *stringEthereum address that will sign and send this transaction. Must match the wallet that will sign the returned transaction locally.
executionModestring'direct' = standard on-chain tx (sign locally with your wallet → send_signed_transaction). 'metaTx' = gasless relay via Biconomy (send_meta_transaction). Defaults to 'direct'.

complete_exchange

Completes an exchange after the dispute period expires, releasing funds to the seller. Can be called by seller after dispute period or by buyer at any time post-redemption. Returns unsigned transaction data.

ParameterTypeDescription
configId *stringBoson/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 value…
exchangeId *stringNumeric ID of the exchange/dispute to act on. Obtain from get_exchanges or the response of commit_to_offer.
signerAddress *stringEthereum address that will sign and send this transaction. Must match the wallet that will sign the returned transaction locally.
executionModestring'direct' = standard on-chain tx (sign locally with your wallet → send_signed_transaction). 'metaTx' = gasless relay via Biconomy (send_meta_transaction). Defaults to 'direct'.

get_sellers_by_address

Reads seller entities associated with a specific Ethereum address. Use this to check if signerAddress already has a seller account before calling create_seller. Read-only. Returns: array of seller entities.

ParameterTypeDescription
address *string
configId *stringBoson/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 value…
includeExchangesboolean
includeFundsboolean
includeLogsboolean
includeOffersboolean
sellersFilterobject
sellersFirstnumber
sellersOrderBystring
sellersOrderDirectionstring
sellersSkipnumber

get_all_products_with_not_voided_variants

Reads product groupings with at least one non-voided variant from the Boson subgraph. Useful for storefront displays. Supports pagination and ordering. Read-only.

ParameterTypeDescription
configId *stringBoson/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 value…
productsFilterobject
productsFirstnumber
productsOrderBystring
productsOrderDirectionstring
productsSkipnumber

search_products

Searches products in the Boson subgraph by keywords matched against title, description, brand, category, and tags. Supports pagination, ordering, filtering, and an includeInvalidOffers flag (default false = only products with currently-valid offers). Read-only. Returns: array of product search result fragments.

ParameterTypeDescription
configId *stringBoson/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 value…
keywords *arrayList of keywords matched against product title, description, brand, category, and tags.
includeInvalidOffersbooleanWhen true, include products whose offers are outside their validity window. Defaults to false (valid offers only).
productsFilterobject
productsFirstnumber
productsOrderBystring
productsOrderDirectionstring
productsSkipnumber

validate_metadata

Validates a metadata object against the Boson Protocol schema (PRODUCT_V1, BUNDLE, BASE, etc.) without storing it. Use before store_*_metadata to catch errors early. Read-only. Returns: validation result with any errors.

ParameterTypeDescription
metadata *object

store_product_v1_metadata

Stores a ProductV1 metadata object to IPFS. Call before create_offer to get metadataUri and metadataHash. Returns: { metadataUri: 'ipfs://...', metadataHash: '0x...' }.

ParameterTypeDescription
attributes *array
configId *stringBoson/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 value…
description *string
exchangePolicy *object
externalUrl *string
image *string
licenseUrl *string
name *string
product *object
schemaUrl *string
seller *object
shipping *object
signerAddress *stringEthereum address that will sign and send this transaction. Must match the wallet that will sign the returned transaction locally.
type *string
uuid *string
animationUrlstring
conditionstring
imageDatastring
productOverridesobject
variationsarray
youtubeUrlstring

store_bundle_metadata

Stores a Bundle metadata object to IPFS. Prerequisite: call store_bundle_item_product_v1_metadata and/or store_bundle_item_nft_metadata first; include their returned URLs in the items array. Returns: { metadataUri, metadataHash }.

ParameterTypeDescription
bundleUuid *string
configId *stringBoson/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 value…
description *string
externalUrl *string
items *array
licenseUrl *string
name *string
schemaUrl *string
seller *object
signerAddress *stringEthereum address that will sign and send this transaction. Must match the wallet that will sign the returned transaction locally.
type *string
animationUrlstring
attributesarray
conditionstring
imagestring
imageDatastring
youtubeUrlstring

store_base_metadata

Stores a Base metadata object to IPFS. Use for simple offers that don't require ProductV1 or Bundle structure. Returns: { metadataUri, metadataHash } for use in create_offer.

ParameterTypeDescription
configId *stringBoson/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 value…
description *string
externalUrl *string
licenseUrl *string
name *string
schemaUrl *string
signerAddress *stringEthereum address that will sign and send this transaction. Must match the wallet that will sign the returned transaction locally.
type *string
animationUrlstring
attributesarray
conditionstring
imagestring
imageDatastring
youtubeUrlstring

render_contractual_agreement

Renders the legal contractual agreement text/HTML for an offer using its offer data and metadata. Use to preview or store the agreement. Returns: rendered agreement string.

ParameterTypeDescription
configId *stringBoson/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 value…
offerData *object
offerMetadata *object
signerAddress *Ethereum address that will sign and send this transaction. Must match the wallet that will sign the returned transaction locally.
template *string

store_bundle_item_product_v1_metadata

Stores a single ProductV1 bundle item's metadata to IPFS. Call once per physical product in a bundle before store_bundle_metadata. Returns: { url: 'ipfs://...' } to include in the items array.

ParameterTypeDescription
configId *stringBoson/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 value…
exchangePolicy *object
product *object
schemaUrl *string
shipping *object
signerAddress *stringEthereum address that will sign and send this transaction. Must match the wallet that will sign the returned transaction locally.
type *string
uuid *string
productOverridesobject
variationsarray

store_bundle_item_nft_metadata

Stores a single NFT bundle item's metadata to IPFS. Call once per NFT component in a bundle before store_bundle_metadata. Returns: { url: 'ipfs://...' } to include in the items array.

ParameterTypeDescription
configId *stringBoson/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 value…
name *string
schemaUrl *string
signerAddress *stringEthereum address that will sign and send this transaction. Must match the wallet that will sign the returned transaction locally.
type *string
animationUrlstring
animation_urlstring
attributesarray
chainIdnumber
contractstring
descriptionstring
externalUrlstring
external_urlstring
imagestring
imageDatastring
image_datastring
quantitynumber
termsarray
tokenIdstring
tokenIdRangeobject
youtubeUrlstring
youtube_urlstring

register_agent

Registers a dACP agent with this MCP server instance, associating its Ethereum identities and roles. The signature proves control of each signerAddress. Server-local state — no configId/signerAddress context needed. Returns: registration confirmation.

ParameterTypeDescription
description *string
entities *array
name *string

get_registered_agents

Returns all dACP agents registered with this MCP server instance, with their associated protocol entities and roles. No auth required.

ParameterTypeDescription
configId *stringBoson/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 value…

get_supported_tokens

Returns ERC-20 tokens accepted as exchange tokens on the given configId deployment. Use returned addresses in exchangeTokenAddress fields of create_offer. Read-only. Returns: array of { address, name, symbol, decimals }.

ParameterTypeDescription
configId *stringBoson/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 value…