Quote protocol fee
quote_feeCalculates protocol fees, buyer deposits, seller receipts, and Buyer Review bonds with a 1.5% cap; optionally cross-checks on-chain fee values and flags differences without moving or signing funds.
Instructions
Calculate the protocol fee, buyer deposit, seller receipt and Buyer Review bond with the integer formula: 1.5% of the job amount, capped at 50 USDC. Does not move funds. If buyer_address is set, also read protocolFeeFor and arbitrationReserveFor and flag any difference. Does not sign or send.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"amount_usdc": "<amount_usdc>",
"mode": "<mode>",
"starter": "<starter>"
},
"name": "quote_fee"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | Yes | ||
| starter | Yes | ||
| amount_usdc | Yes | Job amount in USDC as a decimal string with at most 6 fraction digits. | |
| buyer_address | No | Optional checksummed buyer address for an on-chain fee cross-check. |