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

      • Optional fee?: Int

        GaMetaTx fee, required in Ceres

      • Optional gasPrice?: Int

        GaMetaTx gasPrice, required in Ceres

      • onNode: Node

        Node to use

    Returns Promise<Buffer>

    Transaction hash

Generated using TypeDoc