Preparing search index...
The search index is not available
@l1x/l1x-wallet-sdk
@l1x/l1x-wallet-sdk
<internal>
JSONRPCClient
Class JSONRPCClient<ClientParams>
Type Parameters
ClientParams
=
void
Hierarchy
JSONRPCClient
Implements
JSONRPCRequester
<
ClientParams
>
Index
Constructors
constructor
Properties
_createID
_send
createID?
id
id
To
Resolve
Map
request
WithID
Methods
notify
receive
reject
All
Pending
Requests
request
request
Advanced
send
timeout
Constructors
constructor
new JSONRPCClient
<
ClientParams
>
(
_send
,
createID
?
)
:
JSONRPCClient
<
ClientParams
>
Type Parameters
ClientParams
=
void
Parameters
_send
:
SendRequest
<
ClientParams
>
Optional
createID
:
CreateID
Returns
JSONRPCClient
<
ClientParams
>
Properties
Private
_createID
_createID
:
any
Private
_send
_send
:
any
Private
Optional
createID
createID
?:
any
Private
id
id
:
any
Private
id
To
Resolve
Map
id
To
Resolve
Map
:
any
Private
request
WithID
request
WithID
:
any
Methods
notify
notify
(
method
,
params
,
clientParams
)
:
void
Parameters
method
:
string
params
:
any
clientParams
:
ClientParams
Returns
void
receive
receive
(
responses
)
:
void
Parameters
responses
:
JSONRPCResponse
|
JSONRPCResponse
[]
Returns
void
reject
All
Pending
Requests
reject
All
Pending
Requests
(
message
)
:
void
Parameters
message
:
string
Returns
void
request
request
(
method
,
params
,
clientParams
)
:
PromiseLike
<
any
>
Parameters
method
:
string
params
:
any
clientParams
:
ClientParams
Returns
PromiseLike
<
any
>
request
Advanced
request
Advanced
(
request
,
clientParams
)
:
PromiseLike
<
JSONRPCResponse
>
Parameters
request
:
JSONRPCRequest
clientParams
:
ClientParams
Returns
PromiseLike
<
JSONRPCResponse
>
request
Advanced
(
request
,
clientParams
)
:
PromiseLike
<
JSONRPCResponse
[]
>
Parameters
request
:
JSONRPCRequest
[]
clientParams
:
ClientParams
Returns
PromiseLike
<
JSONRPCResponse
[]
>
send
send
(
payload
,
clientParams
)
:
Promise
<
void
>
Parameters
payload
:
any
clientParams
:
ClientParams
Returns
Promise
<
void
>
timeout
timeout
(
delay
,
overrideCreateJSONRPCErrorResponse
?
)
:
JSONRPCRequester
<
ClientParams
>
Parameters
delay
:
number
Optional
overrideCreateJSONRPCErrorResponse
:
(
(
id
)
=>
JSONRPCErrorResponse
)
(
id
)
:
JSONRPCErrorResponse
Parameters
id
:
JSONRPCID
Returns
JSONRPCErrorResponse
Returns
JSONRPCRequester
<
ClientParams
>
Settings
Member Visibility
Protected
Private
Inherited
External
Theme
OS
Light
Dark
On This Page
constructor
_createID
_send
createID
id
id
To
Resolve
Map
request
WithID
notify
receive
reject
All
Pending
Requests
request
request
Advanced
send
timeout
@l1x/l1x-
wallet-
sdk
<internal>
JSONRPCClient
JSONRPCLib
L1XBalancer
Service
L1XCore
Stub
Service
L1XEVMService
L1XTokenFTService
L1XTokenNFTService
L1XToken
Service
L1XTx
Service
L1XVMService
L1XWallet
Service
Array
Like
Boolean
Buffer
Buffer
Constructor
Iterable
Iterator
Iterator
Iterator
Return
Result
Iterator
Yield
Result
JSONRPCError
JSONRPCError
Response
JSONRPCRequest
JSONRPCRequester
JSONRPCSuccess
Response
Object
Promise
Like
Shared
Array
Buffer
Shared
Array
Buffer
Constructor
Array
Buffer
Like
Array
Buffer
View
Buffer
Encoding
CreateID
Iterator
Result
JSONRPCID
JSONRPCResponse
Property
Key
Send
Request
Typed
Array
With
Implicit
Coercion
Buffer
Shared
Array
Buffer
Boolean
Object
Access
Type
Contract
Type
FTRead
Only
Function
FTState
Changing
Function
NFTRead
Only
Function
NFTState
Changing
Function
Value
Transform
Option
L1XProvider
EVMDeploy
Arg
EVMDeploy
Response
EVMRead
Only
Call
Arg
EVMState
Change
Call
Arg
Estimate
Feelimit
Arg
FTToken
Approve
Arg
FTToken
Approve
Response
FTToken
Create
Arg
FTToken
Create
Response
FTToken
Get
Allowance
Arg
FTToken
Get
Allowance
Response
FTToken
Get
Attribute
Arg
FTToken
Get
Attribute
Response
FTToken
Get
Balance
Arg
FTToken
Get
Balance
Response
FTToken
Mint
Arg
FTToken
Prepare
Query
Payload
Arg
FTToken
Transfer
Arg
FTToken
Transfer
From
Arg
FTToken
Transfer
From
Response
FTToken
Transfer
Response
Get
Account
State
Arg
Get
Account
State
Response
Get
Block
By
Number
Arg
Get
Block
Number
Response
Get
Chain
State
Response
Get
Current
Nonce
Arg
Get
Events
Arg
Get
Events
Response
Get
Stake
Arg
Get
Transaction
Receipt
Arg
Get
Transaction
Receipt
Response
Get
Transactions
By
Account
Arg
JSONRPCOption
L1XVMTransaction
NFTApprove
Arg
NFTSet
Approval
For
All
Arg
NFTToken
ApproveVMFunction
Params
NFTToken
Burn
Arg
NFTToken
BurnVMFunction
Params
NFTToken
Create
Arg
NFTToken
Create
Response
NFTToken
Get
Attribute
Arg
NFTToken
Get
Attribute
Response
NFTToken
Get
Balance
Arg
NFTToken
Get
Balance
Response
NFTToken
Mint
To
Arg
NFTToken
Mint
ToVMFunction
Params
NFTToken
Owned
By
Address
Arg
NFTToken
Owned
Tokens
Response
NFTToken
Owner
Of
Arg
NFTToken
Owner
Of
Response
NFTToken
Prepare
Query
Payload
Arg
NFTToken
Set
Approval
For
AllVMFunction
Params
NFTToken
Transfer
Arg
NFTToken
Transfer
FromVMFunction
Params
NFTToken
Transfer
Response
NFTToken
Uri
Of
Arg
NFTToken
Uri
Of
Response
Native
Token
Transfer
Arg
Native
Token
Transfer
Response
Provider
Attrib
Raw
Payload
Arg
Raw
Token
Read
Only
Arg
Signed
Transaction
Payload
State
Changing
Function
Call
Response
Transaction
Response
Tx
Create
Staking
Pool
Tx
Native
Token
Transfer
Tx
Smart
Contract
Deployment
V2
Tx
Smart
Contract
Function
Call
V2
Tx
Smart
Contract
Init
V2
Tx
Stake
Tx
Un
Stake
VMDeploy
Arg
VMDeploy
Response
VMGet
Transaction
Events
Args
VMGet
Transaction
Events
Response
VMInit
Arg
VMInit
Response
VMRead
Only
Call
Arg
VMState
Change
Call
Arg
Wallet
Import
By
Private
Key
Response
Cluster
Provider
Cluster
Type
Generated using
TypeDoc