Validate Rune Name
Checks if a Rune name is valid given current block height, whether it already exists, and estimates when shorter names will become available.
get
Validate if a rune name is available for etching. When not valid it can include below reasons:
minLength
- rune does not match minimum length for current blockheightalreadyExists
- rune name already existsformat
- rune name format is invalidoutOfRange
- rune name is out of range of acceptable names
Authorizations
Query parameters
runeNamestring · min: 1RequiredExample:
The rune name to validate
UNCOMMON•GOODS
Responses
200
Validation result for a rune name
application/json
400
Invalid input
application/json
401
Unauthorized
application/json
404
Not found
application/json
429
Rate limit exceeded
application/json
500
Internal server error
application/json
get
GET /v1/runes/etch/validate-name?runeName=text HTTP/1.1
Host: api.secretkeylabs.io
x-api-key: YOUR_API_KEY
Accept: */*
{
"isValid": true,
"reason": "minLength",
"currentHeight": 1,
"availableHeight": 1,
"runeId": "text"
}
Last updated