Service class for interacting with L1XEVM functionality.

Hierarchy

  • L1XEVMService

Constructors

Properties

#client: JSONRPCLib

The JSON-RPC client used for communication with the L1X core.

Represents an instance of the L1XCoreStubService, which provides access to core L1X functionality.

#options: ProviderAttrib

Represents the options for cluster provider information associated with the L1XProvider.

Memberof

L1XProvider

Instance

See

ProviderAttrib

Methods

  • Handles fallback values for data.

    Parameters

    • data: any

      The data to be checked for fallback.

    • Optional fallbackValue: any

      The fallback value to be used if data is falsy.

    Returns any

    The original data if not falsy, otherwise the fallback value.

  • Asynchronously makes a read-only call to a smart contract using the EVM.

    Parameters

    Returns Promise<any>

    A Promise that resolves to the result of the read-only call.

    Throws

    Throws an error if required parameters are missing or if function or its inputs are not found in the provided ABI.

    See

    EVMReadOnlyCallArg

Generated using TypeDoc