An utilitary class meant to work together with the Transaction class.

Constructors

Methods

  • Parameters

    • transaction: {
          data: Uint8Array;
          gasLimit: bigint;
          gasPrice: bigint;
      }
      • data: Uint8Array
      • gasLimit: bigint
      • gasPrice: bigint
    • networkConfig: INetworkConfig

    Returns bigint

  • Parameters

    • Optional value: string | Uint8Array

    Returns undefined | string

  • Parameters

    Returns {
        chainID: string;
        data: undefined | string;
        gasLimit: number;
        gasPrice: number;
        guardian: undefined | string;
        nonce: number;
        options: undefined | number;
        receiver: string;
        receiverUsername: undefined | string;
        sender: string;
        senderUsername: undefined | string;
        value: string;
        version: number;
    }

    • chainID: string
    • data: undefined | string
    • gasLimit: number
    • gasPrice: number
    • guardian: undefined | string
    • nonce: number
    • options: undefined | number
    • receiver: string
    • receiverUsername: undefined | string
    • sender: string
    • senderUsername: undefined | string
    • value: string
    • version: number