Register Commerce Service
register_commerce_serviceAutomatically admit a versioned service into the existing commerce directory and Commerce Index after bounded JSON Schema draft 2020-12, examples, price, endpoint, content hash, seller, payout, and fulfillment-key validation. No seller approval is required.
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": {
"service": "<service>",
"payoutOwnershipProof": "<payoutOwnershipProof>",
"idempotencyKey": "<idempotencyKey>"
},
"name": "register_commerce_service"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| service | Yes | ||
| idempotencyKey | Yes | ||
| payoutOwnershipProof | Yes | EIP-191 signature by the seller wallet address over the published payout-ownership message. |