Etch
Last updated
Last updated
Use this endpoint to create a rune as defined in
POST
a new rune orderPOST
https://api.ordinalsbot.com/runes/etch
rune*
String
Rune name
supply*
Number
Supply of the rune token
symbol*
String
Single letter symbol for the rune
divisibility*
Number
Number of decimal points one unit of rune can be divided into.
premine*
Number
Number of rune tokens the etching mints for the etcher.
files*
Array
An array of objects that includes:
Mandatory
name:string; => name of the file including extension.
size:number; => size of the file in bytes
url:string; => file URL hosted on OrdinalsBot buckets
Optional
metadataUrl:string; => metadata json file URL hosted on OrdinalsBot buckets
metadataSize:number; => size of the metadata file in bytes
metaprotocol:string; => Metaprotocol field to be included in the inscription data
Note: you can send any dataURL text/json/image/video data in a parameter called dataURL
instead of url for files
metadataDataURL
instead of metadataUrl for metadata json files
"files" or "delegates" array is mandatory.
delegates*
Array
An array of objects that includes:
Mandatory
delegateId:string; => inscription ID of the delegate that will be inscribed.
Optional
metadataUrl:string; => metadata json file URL hosted on OrdinalsBot buckets
metadataSize:number; => size of the metadata file in bytes
metaprotocol:string; => Metaprotocol field to be included in the inscription data
receiveAddress*
String
A single Bitcoin address to receive the inscriptions for the whole order
terms
Object
Required only if premine !== supply
If supplied, supply
must equal premine + terms.cap * terms.amount
An object that includes: amount: (number, required) amount of runes each mint transaction receives cap: (number, required) allowed number of mints
offset: (object, optional) object with required fields start
and end
height: (object, optional) object with required fields start
and end
turbo
Boolean
True by default. This flag indicates whether the rune opts-in for protocol changes, whatever they might be.
fee
Number
Miner fee that will be paid while inscribing the ordinals in sats/byte.
(default=2 sats/byte)
referral
String
Referral code to earn up to %15 of the order service fee.
additionalFee
Number
Amount of satoshis to charge extra for this order that will be added to "referral" account.
Needs to be used together with "referral" parameter.
Note: additionalFee is added PER FILE!
Supported file extensions may change. If you include any unsupported files order creation will fail.
Currently Supported files:
'apng', 'flac', 'gif', 'html', 'jpg','jpeg', 'mp3', 'pdf', 'png', 'svg', 'txt', 'wav', 'webm', 'webp', 'mp4', 'stl', 'glb', 'avif', 'yaml' , 'yml', 'asc', 'json', 'js', 'css', 'gz'