# `BSV.SPV.Beef`
[🔗](https://github.com/Bittoku/bsv_sdk_elixir/blob/main/lib/bsv/spv/beef.ex#L1)

BEEF (Background Evaluation Extended Format) transaction container.

Supports BRC-64 (V1), BRC-96 (V2), and BRC-95 (Atomic BEEF) formats.

# `t`

```elixir
@type t() :: %BSV.SPV.Beef{
  bumps: [BSV.SPV.MerklePath.t()],
  transactions: %{required(binary()) =&gt; BSV.SPV.Beef.BeefTx.t()},
  version: non_neg_integer()
}
```

# `beef_v1`

BEEF V1 version constant.

# `beef_v2`

BEEF V2 version constant.

# `from_bytes`

```elixir
@spec from_bytes(binary()) :: {:ok, t()} | {:error, String.t()}
```

Parse a BEEF from binary data.

# `from_hex`

```elixir
@spec from_hex(String.t()) :: {:ok, t()} | {:error, String.t()}
```

Parse a BEEF from a hex string.

---

*Consult [api-reference.md](api-reference.md) for complete listing*
