Passer au contenu principal
POST
/
setBroadcastConfig
Set broadcast configuration
curl --request POST \
  --url http://localhost:5935/setBroadcastConfig \
  --header 'Content-Type: application/json' \
  --data '
{
  "maxPricePerUnit": "1000",
  "pixelsPerUnit": 1
}
'

Corps

application/json
maxPricePerUnit
string

Maximum price per pixel in wei

Exemple:

"1000"

pixelsPerUnit
integer

Number of pixels per unit

Exemple:

1

Réponse

200

Broadcast config updated successfully

Last modified on March 1, 2026