View Source Ethers.TxData (Ethers v0.4.5)

Transaction struct to hold information about the ABI selector, encoded data and the target to address.

Summary

Types

t()

Holds transaction data, the function selector and the default to address.

Types

@type t() :: %Ethers.TxData{
  base_module: atom() | nil,
  data: binary() | [binary()],
  default_address: nil | Ethers.Types.t_address(),
  selector: ABI.FunctionSelector.t()
}

Holds transaction data, the function selector and the default to address.

Can be passed in to Ethers.call/2 or Ethers.send/2 to execute.