Search
Preparing search index...
The search index is not available
aleo-js-sdk
Options
All
Public
Public/Protected
All
Inherited
Externals
Only exported
Menu
Globals
RPC
Class RPC
Hierarchy
RPC
Index
Constructors
constructor
Properties
default
Options
password
uri
user
Methods
call
merge
Options
create
Constructors
constructor
new RPC
(
uri
:
string
, defaultOptions
?:
RequestInit
, user
?:
undefined
|
string
, password
?:
undefined
|
string
)
:
RPC
Parameters
uri:
string
Default value
defaultOptions:
RequestInit
= {}
Optional
user:
undefined
|
string
Optional
password:
undefined
|
string
Returns
RPC
Properties
default
Options
default
Options
:
RequestInit
password
password
:
string
|
undefined
uri
uri
:
string
user
user
:
string
|
undefined
Methods
call
call
(
methodName
:
string
,
...
params
:
any
[]
)
:
Promise
<
any
>
Parameters
methodName:
string
Rest
...
params:
any
[]
Returns
Promise
<
any
>
Private
merge
Options
merge
Options
(
overrideOptions
:
RequestInit
, defaultOptions
:
RequestInit
)
:
RequestInit
&
{
headers
:
string
[]
[]
|
Record
<
string
,
string
>
|
Headers
}
Parameters
overrideOptions:
RequestInit
defaultOptions:
RequestInit
Returns
RequestInit
&
{
headers
:
string
[]
[]
|
Record
<
string
,
string
>
|
Headers
}
Static
create
create
(
uri
:
string
)
:
RPC
Parameters
uri:
string
Returns
RPC
Globals
Aleo
Auth
Client
Aleo
Client
RPC
constructor
default
Options
password
uri
user
call
merge
Options
create
Account
Block
Block
Template
Network
Graph
Node
Info
Node
Status
Peer
Info
Raw
Transaction
Record
Transaction
Transaction
Recipient
Generated using
TypeDoc