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 blockheight

  • alreadyExists - rune name already exists

  • format - rune name format is invalid

  • outOfRange - rune name is out of range of acceptable names

Authorizations
Query parameters
runeNamestring · min: 1Required

The rune name to validate

Example: UNCOMMON•GOODS
Responses
200

Validation result for a rune name

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