# 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);
```
