TransactionParams: {
    data: BytesLike;
    gas?: BN;
    to?: string;
}

Name

TransactionParams

Description

Parameters for Sending Tx with pre-created function data

Param

Address of To to send to

Param

Hex String or Bytes of Encoded Function Data

Param

Optional Gas, Default Gas Price is 1000000

Type declaration

  • data: BytesLike
  • Optional gas?: BN
  • Optional to?: string