Create
Text inscriptions
Typescript example
const data = "abc";
const buf = Buffer.from(data);
const script = new ScriptBuilder()
.addData(XOnlyPublicKey.fromAddress(account).toString())
.addOp(Opcodes.OpCheckSig)
.addOp(Opcodes.OpFalse)
.addOp(Opcodes.OpIf)
.addData(Buffer.from("kns"))
.addI64(0n)
.addData(buf)
.addOp(Opcodes.OpEndIf);Domain inscriptions
Standard
Rules
- keyrequireddescription
Pricing
- 1 char2 char3 char4 char5 char
Typescript example
Inscriptions of other mimeTypes
Typescript example
Last updated