# `BSV.Tokens.Script.Stas3Fields`
[🔗](https://github.com/Bittoku/bsv_sdk_elixir/blob/main/lib/bsv/tokens/script/reader.ex#L14)

Fields extracted from a STAS 3.0 locking script.

`action_data_parsed` carries the legacy `{:swap, swap_fields()}` /
`{:custom, bytes}` form (61-byte projection of the swap descriptor,
no recursive `next`). For the full STAS 3.0 v0.1 §6.3 recursive
swap descriptor — including any `next` chain — see
`swap_descriptor`.

# `t`

```elixir
@type t() :: %BSV.Tokens.Script.Stas3Fields{
  action_data_parsed: BSV.Tokens.ActionData.t() | nil,
  action_data_raw: binary() | nil,
  flags: binary(),
  frozen: boolean(),
  optional_data: [binary()],
  owner: &lt;&lt;_::160&gt;&gt;,
  redemption: &lt;&lt;_::160&gt;&gt;,
  service_fields: [binary()],
  swap_descriptor: BSV.Tokens.SwapDescriptor.t() | nil
}
```

---

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