set_price
Set the asking price for your own pixels (anyone may buy them at this price). Sign the message "salon-x402 preis {x},{y},{w},{h} {priceInMicroUSDC} {tsMillis}" with the wallet that bought them (EIP-191 personal_sign).
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": {
"x": "<x>",
"y": "<y>",
"width": "<width>",
"height": "<height>",
"price_usdc": "<price_usdc>",
"wallet": "<wallet>",
"ts": "<ts>",
"signature": "<signature>"
},
"name": "set_price"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | Yes | ||
| y | Yes | ||
| ts | Yes | ||
| width | Yes | ||
| height | Yes | ||
| wallet | Yes | ||
| signature | Yes | ||
| price_usdc | Yes |