Function buildAuthTxHash

  • Build a transaction hash the same as Auth.tx_hash by GaMetaTx payload

    Parameters

    • transaction: `tx_${string}`

      tx-encoded transaction

    • options: { fee?: Int; gasPrice?: Int; onNode: Node }

      Options

      • Optionalfee?: Int

        GaMetaTx fee, required in Ceres

      • OptionalgasPrice?: Int

        GaMetaTx gasPrice, required in Ceres

      • onNode: Node

        Node to use

    Returns Promise<Buffer>

    Transaction hash