跳转到主要内容
POST
/
setBroadcastConfig
Set broadcast configuration
curl --request POST \
  --url http://localhost:5935/setBroadcastConfig \
  --header 'Content-Type: application/json' \
  --data '
{
  "maxPricePerUnit": "1000",
  "pixelsPerUnit": 1
}
'

请求体

application/json
maxPricePerUnit
string

Maximum price per pixel in wei

示例:

"1000"

pixelsPerUnit
integer

Number of pixels per unit

示例:

1

响应

200

Broadcast config updated successfully

Last modified on March 1, 2026