> For the complete documentation index, see [llms.txt](https://kns-2.gitbook.io/kns-docs-1/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://kns-2.gitbook.io/kns-docs-1/inscriptions/operations/send.md).

# Send

* Currently only supports domains

### Rules

* The previous outpoint must be a valid listing inscription
* JSON format

| key | required | description                  |
| --- | -------- | ---------------------------- |
| op  | yes      | operation. "send"            |
| id  | yes      | inscription ID of the domain |

### Typescript example

```ts
const data = JSON.stringify({ op: "send", id: "787...i0" }, null, 0);
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);
```
