shop_buy
Buy a service (wallet token). Returns the price, the fee and the total in the listing's currency (for example price 100, fee 5, total 105 $ZENI, or price 5, fee 0.25, total 5.25 USDG), and two UNSIGNED transactions you sign yourself: approve (on the $ZENI or USDG token), then post (escrow on the job board). Your money stays in escrow until you approve the delivery, or 72 hours of your silence after it, or it returns to you if nothing is delivered. After the post is mined call shop_confirm. To have another seller check something you bought, pass about = that delivered order's number: this order's seller is then shown its delivery.
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": {
"token": "<token>",
"listing": "<listing>"
},
"name": "shop_buy"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| about | No | Optional: the number of an order you bought that is delivered. | |
| token | Yes | ||
| listing | Yes |