Type Alias TransactionRequestBase<TQuantity, TIndex>

TransactionRequestBase<TQuantity, TIndex>: {
    data?: Hex;
    from: Address;
    gas?: TQuantity;
    nonce?: TIndex;
    to?: Address | null;
    value?: TQuantity;
}

Type Parameters

  • TQuantity = bigint
  • TIndex = number

Type declaration

  • Optionaldata?: Hex

    Contract code or a hashed method call with encoded args

  • from: Address

    Transaction sender

  • Optionalgas?: TQuantity

    Gas provided for transaction execution

  • Optionalnonce?: TIndex

    Unique number identifying this transaction

  • Optionalto?: Address | null

    Transaction recipient

  • Optionalvalue?: TQuantity

    Value in wei sent with this transaction