> For the complete documentation index, see [llms.txt](https://docs.rgb.info/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.rgb.info/commitment-layer/deterministic-bitcoin-commitments-dbc/opret.md).

# Opret

This represents the simplest and most straightforward scheme. The commitment is inserted into the first `OP_RETURN` output of the [witness transaction](/annexes/glossary.md#witness-transaction) in the following way:

```
34-byte_Opret_Commitment =
 OP_RETURN   OP_PUSHBYTE_32   <mpc::Commitment>
|_________| |______________| |_________________|
  1-byte       1-byte         32 bytes                      
```

`mpc::Commitment` is the 32-byte Tagged hash resulting from the [MPC tree](/commitment-layer/multi-protocol-commitments-mpc.md#mpc-tagged-hash) which is covered in detail [later](/commitment-layer/multi-protocol-commitments-mpc.md). Hence an opret commitment will have a total size of 34 bytes.

***
