# `EEVM.Block.Withdrawal`
[🔗](https://github.com/mw2000/eevm/blob/main/lib/eevm/block/withdrawal.ex#L1)

EIP-4895 beacon-chain withdrawal: a credit applied to an execution-layer
account at the start of a block.

The wire `amount` is denominated in gwei; the EVM works in wei, so the
balance bump is `amount * 1_000_000_000`. Withdrawals are applied between
the transaction fold and the state-root commitment in `Block.Processor`.

# `t`

```elixir
@type t() :: %EEVM.Block.Withdrawal{
  address: non_neg_integer(),
  amount: non_neg_integer(),
  index: non_neg_integer(),
  validator_index: non_neg_integer()
}
```

---

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