• Parameters

    • methodName: string
    • args: object | Uint8Array
    • gas: bigint
    • deposit: bigint
    • Optionalstringify: (args: any) => Buffer
        • (args: any): Buffer
        • Converts an input argument to a Buffer, handling cases for both JSON and Uint8Array.

          Parameters

          • args: any

            The input argument, either JSON object or Uint8Array.

          Returns Buffer

          A Buffer representation of the input argument.

    • OptionaljsContract: boolean

    Returns Action