Class TransactionWrapper<BODY, OK>

Type Parameters

  • BODY
  • OK

Constructors

Properties

runtimeID: Uint8Array
transaction: Transaction
unverifiedTransaction: UnverifiedTransaction

Methods

  • Parameters

    • proofProviders: ProofProvider[]

      An array of providers matching the layout of the transaction's signer info.

    • consensusChainContext: string

    Returns Promise<void>

  • Parameters

    • nic: NodeInternal

    Returns Promise<void>

  • Encode as eth_sendTransaction params, to use through e.g. MetaMask

    Parameters

    • OptionaltransferValue: bigint

    Returns {
        data: `0x${string}`;
        to: "0x0100000000000000000000000000000000000103";
        value: undefined | bigint;
    }

    • data: `0x${string}`
    • to: "0x0100000000000000000000000000000000000103"
    • value: undefined | bigint