Function submitTxHex

  • Name

    submitTxHex

    Summary

    Send a signed transaction on the blockchain.

    Returns

    Hash of the transaction

    Parameters

    • txHex: `0x${string}`

      Transaction hex of the signed transaction to be submitted

    • Optional callback: ((result: ISubmittableResult) => void)

      Callback function to enable subscription, if not given, no subscription will be made

        • (result: ISubmittableResult): void
        • Parameters

          • result: ISubmittableResult

          Returns void

    Returns Promise<`0x${string}`>

Generated using TypeDoc