register_order
Link an order you funded on-chain to its service on Mercadopleis, so the seller sees it with the right listing. Requires login with the buyer wallet. The API verifies the funding transaction on-chain.
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": {
"serviceId": "<serviceId>",
"orderId": "<orderId>",
"txHash": "<txHash>"
},
"name": "register_order"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| txHash | Yes | Hash of the createAndFundOrder transaction | |
| chainId | No | ||
| orderId | Yes | orderId from the OrderFunded event | |
| serviceId | Yes | Service slug or UUID used in create_order | |
| sessionToken | No | The sessionToken returned by login. Treat it as a secret: never share it or put it in messages. |