Skip to main content
POST
/
api
/
v3
/
labels
/
{address}
Assign a label to a jetton
curl --request POST \
  --url https://tokens.swap.coffee/api/v3/labels/{address} \
  --header 'Content-Type: application/json' \
  --header 'X-Api-Key: <api-key>' \
  --data '
{
  "label": "label",
  "expiration_seconds": 3600
}
'
{
  "error": "error description"
}

Authorizations

X-Api-Key
string
header
required

Path Parameters

address
string
required

The jetton master address

Body

application/json
label
string
required
Example:

"label"

expiration_seconds
integer

Optional expiration time in seconds. If not provided, the label will not expire.

Example:

3600

Response

Label assigned successfully