# `EEVM.Context.Transaction`
[🔗](https://github.com/mw2000/eevm/blob/v0.1.0/lib/eevm/context/transaction.ex#L1)

> This module is deprecated. Use EEVM.TxEnv.

Deprecated: renamed to `EEVM.TxEnv`, with `gasprice` renamed to
`gas_price`. `new/1` still accepts the old field name for one minor
version.

# `new`

> This function is deprecated. Use EEVM.TxEnv.new/1.

```elixir
@spec new(keyword()) :: EEVM.TxEnv.t()
```

Builds an `EEVM.TxEnv`, accepting the old `gasprice` field name.

---

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