Class EthereumFlow

Create a new Hedera™ transaction wrapped ethereum transaction.

Hierarchy

  • EthereumFlow

Constructors

  • Parameters

    • Optional props: {
          callData: undefined | FileId;
          ethereumData: undefined | Uint8Array;
          maxGasAllowance: undefined | string | number | Long | BigNumber | Hbar;
      } = {}
      • callData: undefined | FileId
      • ethereumData: undefined | Uint8Array
      • maxGasAllowance: undefined | string | number | Long | BigNumber | Hbar

    Returns EthereumFlow

Properties

_maxChunks: null | number

Accessors

Methods

  • The maximum amount, in tinybars, that the payer of the hedera transaction is willing to pay to complete the transaction.

    Ordinarily the account with the ECDSA alias corresponding to the public key that is extracted from the ethereum_data signature is responsible for fees that result from the execution of the transaction. If that amount of authorized fees is not sufficient then the payer of the transaction can be charged, up to but not exceeding this amount. If the ethereum_data transaction authorized an amount that was insufficient then the payer will only be charged the amount needed to make up the difference. If the gas price in the transaction was set to zero then the payer will be assessed the entire fee.

    Parameters

    • maxGasAllowance: string | number | Long | BigNumber | Hbar

    Returns EthereumFlow

Generated using TypeDoc