POST
Registrar conta de smart meter no boot

Body

application/json
deviceId
string
required
Maximum string length: 64
Example:

"es-sms-01"

pubkey
string
required

Endereço Besu do device.

Example:

"0x70997970C51812dc3A010C7d01b50e0d17dc79C8"

Response

Conta registrada ou já existente.

deviceId
string
sensor_id
string
public_key
string

Segredo HMAC devolvido apenas no primeiro registro.

wallet_address
string
already_registered
boolean
on_chain_registration
object