PUT
/
api
/
v1
/
address
/
label
Update Address Label
curl --request PUT \
  --url https://prv.explorer.biya.io/api/v1/address/label \
  --header 'Content-Type: application/json' \
  --data '
{
  "address": "<string>",
  "chain_id": "<string>",
  "label_type": "<string>",
  "label_value": "<string>",
  "label_color": "<string>",
  "description": "<string>",
  "visible": true
}
'
{
  "code": 123,
  "message": "<string>",
  "data": {}
}

Body

application/json

UpdateAddressLabelRequest is the request message for updating an address label.

address
string
chain_id
string
label_type
string
label_value
string
label_color
string
description
string
visible
boolean

Response

200 - application/json

OK

通用响应结构

code
integer<int32>

响应状态码,0表示成功,非0表示失败

message
string

响应消息

data
object

响应数据(使用 Struct 类型,可以直接返回 JSON 对象,更直观)