Creates an instance of L1XTokenFTService.
The JSON-RPC client used for making requests.
The core service used for additional functionality.
Private
#clientThe JSON-RPC client used for communication with the L1X core.
Private
#coreRepresents an instance of the L1XCoreStubService, which provides access to core L1X functionality.
Private
#defaultRepresents a default base contract address for fungible tokens (FT).
Private
#optionsRepresents the options for cluster provider information associated with the L1XProvider.
Private
#vmRepresents an instance of the L1XVMService, which provides access to core L1X functionality.
Private
#handlePrivate
#makeMakes a read-only call to a smart contract function.
The payload for the read-only call.
A Promise that resolves with the result of the call, converted from hex to string.
Private
#makeMakes a state-changing function call to a smart contract.
The name of the state-changing function to call.
The attributes and arguments for the function call.
The response containing the address and hash of the transaction.
Private
#preparePrepares the payload for a read-only query to a smart contract function.
The attributes for preparing the payload.
The prepared payload for the read-only query.
Approves a spender to spend tokens on behalf of the sender.
The arguments for the approval request.
The response containing the approval details.
Creates a new fungible token contract.
The arguments for the create request.
The response containing the contract creation details.
Gets the allowance of a spender for a specified owner.
The arguments for the allowance request.
The response containing the allowance information.
Gets the attributes of the fungible token.
The arguments for the attribute request.
The response containing token attributes.
Gets the balance of a specified address.
The arguments for the balance request.
The response containing the balance information.
Mints new tokens and assigns them to a specified recipient.
The arguments for the mint request.
The response containing the mint details.
Transfers tokens from the sender's account to a recipient's account.
The arguments for the transfer request.
The response containing the transfer details.
Transfers tokens from a sender to a recipient on behalf of a spender.
The arguments for the transferFrom request.
The response containing the transfer details.
Generated using TypeDoc
A service class for interacting with fungible token (FT) related functionality.