Validate Rune Name

You can use this endpoint to

  • check if a Rune name is valid given current block height

  • check whether it already exists

  • estimateswhen 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
x-api-keystringRequired
Query parameters
runeNamestring · min: 1Required

The rune name to validate

Example: UNCOMMON•GOODS
Responses
200

Validation result for a rune name

application/json
get
/v1/runes-managed/etch/validate-name
GET /v1/runes-managed/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