Constructs a new instance of the L1XCoreStubService class.
The JSON-RPC client for communication with the L1X core.
Private
#clientThe JSON-RPC client used for communication with the L1X core.
A boolean indicating whether the client is connected to the L1X core.
Private
#handlePrivate
Handles fallback values for data, providing a default if data is undefined or null.
The data to handle fallback for.
Optional
fallbackValue: anyThe fallback value to use if data is undefined or null.
Private
#handlePrivate
#transformPrivate
Transforms the transaction entity to include required transformations.
The data of the transaction entity to transform.
Private
#transformPrivate
Transforms data based on the specified option.
The data to transform.
The transformation option to apply.
Broadcasts a signed transaction payload to submit a native token (L1X coin) transfer.
The signed transaction payload to be broadcasted.
Calculate Transaction Hash
The signed transaction payload to calculate the hash for.
Returns fee estimation for transaction
Transaction details
Protected
generateProtected
generateProtected
generateProtected
generateProtected
generateProtected
generateProtected
generateRetrieves the state of a specific account.
The account state retrieval attributes.
Retrieves information about a specific block using the block number.
The attributes for block retrieval.
Retrieves the current chain state.
Retrieves the current nonce for a given account.
The attributes for nonce retrieval.
Retrieves events based on the provided attributes.
The event retrieval attributes.
Generates a signed transaction payload for a native token (L1X coin) transfer operation.
The attributes for the token transfer.
WIP: Retrieves stake information based on the provided attributes.
The attributes for stake retrieval.
Retrieves the receipt of a specific transaction.
The transaction receipt retrieval attributes.
Retrieves transactions associated with a specific account.
The transaction retrieval attributes.
Initiates a native token(L1X coin) transfer operation.
The attributes for token transfer.
Generated using TypeDoc
Represents a service for interacting with L1X core functionality through JSON-RPC communication. This service provides methods for querying chain state, account state, transaction receipts, events, and more.
See