POST
/
api
/
v1
/
contract
/
info
/
tag
Add Contract Tag
curl --request POST \
  --url https://prv.explorer.biya.io/api/v1/contract/info/tag \
  --header 'Content-Type: application/json' \
  --data '
{
  "contractAddress": "<string>",
  "chainId": "<string>",
  "tagType": "<string>",
  "tagValue": "<string>",
  "tagColor": "<string>",
  "description": "<string>",
  "createdBy": "<string>",
  "visible": true,
  "tag_definition_id": "<string>"
}
'
{
  "code": 123,
  "message": "<string>",
  "data": {}
}

Body

application/json
contractAddress
string
chainId
string
tagType
string
tagValue
string
tagColor
string
description
string
createdBy
string
visible
boolean
tag_definition_id
string

Response

200 - application/json

OK

通用响应结构

code
integer<int32>

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

message
string

响应消息

data
object

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