Main documentation
Preparing search index...
The search index is not available
massa-web3
massa-web3
JsonRPCClient
Class JsonRPCClient
Hierarchy (
view full
)
PublicAPI
JsonRPCClient
Index
Constructors
constructor
Properties
connector
last
Status
options
url
Methods
execute
Multiple
Get
Addresses
Bytecode
execute
Multiple
Read
Only
Bytecode
execute
Multiple
Read
Only
Call
execute
Read
Only
Bytecode
execute
Read
Only
Call
fetch
Period
get
Address
Info
get
Addresses
Bytecode
get
Balance
get
Block
get
Blockclique
Block
get
Chain
Id
get
Cliques
get
Current
Slot
get
Data
Store
Keys
get
Datastore
Entries
get
Datastore
Entry
get
Endorsement
get
Events
get
Graph
Interval
get
Minimal
Fee
get
Multiple
Address
Info
get
Multiple
Blocks
get
Multiple
Endorsements
get
Multiple
Slot
Transfers
get
Operation
get
Operation
Status
get
Operations
get
Slot
Transfers
get
Stakers
send
Multiple
Operations
send
Operation
send
Operations
status
buildnet
mainnet
testnet
Constructors
constructor
new
JsonRPCClient
(
url
,
options
?
)
:
JsonRPCClient
Parameters
url
:
string
options
:
Partial
<
ClientOptions
>
= {}
Returns
JsonRPCClient
Properties
connector
connector
:
Connector
last
Status
last
Status
:
NodeStatus
options
options
:
Partial
<
ClientOptions
>
= {}
url
url
:
string
Methods
execute
Multiple
Get
Addresses
Bytecode
execute
Multiple
Get
Addresses
Bytecode
(
addressFilters
)
:
Promise
<
string
[]
>
Parameters
addressFilters
:
AddressFilter
[]
Returns
Promise
<
string
[]
>
execute
Multiple
Read
Only
Bytecode
execute
Multiple
Read
Only
Bytecode
(
readOnlyBytecodeExecutions
)
:
Promise
<
ExecuteReadOnlyResponse
[]
>
Parameters
readOnlyBytecodeExecutions
:
ReadOnlyBytecodeExecution
[]
Returns
Promise
<
ExecuteReadOnlyResponse
[]
>
execute
Multiple
Read
Only
Call
execute
Multiple
Read
Only
Call
(
readOnlyCalls
)
:
Promise
<
ExecuteReadOnlyResponse
[]
>
Parameters
readOnlyCalls
:
ReadOnlyCall
[]
Returns
Promise
<
ExecuteReadOnlyResponse
[]
>
execute
Read
Only
Bytecode
execute
Read
Only
Bytecode
(
readOnlyBytecodeExecution
)
:
Promise
<
ExecuteReadOnlyResponse
>
Parameters
readOnlyBytecodeExecution
:
ReadOnlyBytecodeExecution
Returns
Promise
<
ExecuteReadOnlyResponse
>
execute
Read
Only
Call
execute
Read
Only
Call
(
params
)
:
Promise
<
ReadOnlyCallResult
>
Parameters
params
:
ReadOnlyParams
Returns
Promise
<
ReadOnlyCallResult
>
fetch
Period
fetch
Period
(
)
:
Promise
<
number
>
Returns
Promise
<
number
>
get
Address
Info
get
Address
Info
(
address
)
:
Promise
<
AddressInfo
>
Parameters
address
:
string
Returns
Promise
<
AddressInfo
>
get
Addresses
Bytecode
get
Addresses
Bytecode
(
addressFilter
)
:
Promise
<
string
>
Parameters
addressFilter
:
AddressFilter
Returns
Promise
<
string
>
get
Balance
get
Balance
(
address
,
final
?
)
:
Promise
<
bigint
>
Parameters
address
:
string
final
:
boolean
= true
Returns
Promise
<
bigint
>
get
Block
get
Block
(
blockId
)
:
Promise
<
BlockInfo
>
Parameters
blockId
:
string
Returns
Promise
<
BlockInfo
>
get
Blockclique
Block
get
Blockclique
Block
(
slot
)
:
Promise
<
Block
>
Parameters
slot
:
Slot
Returns
Promise
<
Block
>
get
Chain
Id
get
Chain
Id
(
)
:
Promise
<
bigint
>
Returns
Promise
<
bigint
>
get
Cliques
get
Cliques
(
)
:
Promise
<
Clique
[]
>
Returns
Promise
<
Clique
[]
>
get
Current
Slot
get
Current
Slot
(
)
:
Promise
<
Slot
>
Returns
Promise
<
Slot
>
get
Data
Store
Keys
get
Data
Store
Keys
(
contract
,
filter
?
,
final
?
)
:
Promise
<
Uint8Array
[]
>
Parameters
contract
:
string
filter
:
Uint8Array
= ...
final
:
boolean
= true
Returns
Promise
<
Uint8Array
[]
>
get
Datastore
Entries
get
Datastore
Entries
(
inputs
,
final
?
)
:
Promise
<
Uint8Array
[]
>
Parameters
inputs
:
DatastoreEntry
[]
final
:
boolean
= true
Returns
Promise
<
Uint8Array
[]
>
get
Datastore
Entry
get
Datastore
Entry
(
key
,
address
,
final
?
)
:
Promise
<
Uint8Array
>
Parameters
key
:
string
|
Uint8Array
address
:
string
final
:
boolean
= true
Returns
Promise
<
Uint8Array
>
get
Endorsement
get
Endorsement
(
endorsementId
)
:
Promise
<
EndorsementInfo
>
Parameters
endorsementId
:
string
Returns
Promise
<
EndorsementInfo
>
get
Events
get
Events
(
filter
)
:
Promise
<
SCOutputEvent
[]
>
Parameters
filter
:
EventFilter
Returns
Promise
<
SCOutputEvent
[]
>
get
Graph
Interval
get
Graph
Interval
(
start
?
,
end
?
)
:
Promise
<
GraphInterval
[]
>
Parameters
Optional
start
:
number
Optional
end
:
number
Returns
Promise
<
GraphInterval
[]
>
get
Minimal
Fee
get
Minimal
Fee
(
)
:
Promise
<
bigint
>
Returns
Promise
<
bigint
>
get
Multiple
Address
Info
get
Multiple
Address
Info
(
addresses
)
:
Promise
<
AddressInfo
[]
>
Parameters
addresses
:
string
[]
Returns
Promise
<
AddressInfo
[]
>
get
Multiple
Blocks
get
Multiple
Blocks
(
blockIds
)
:
Promise
<
BlockInfo
[]
>
Parameters
blockIds
:
string
[]
Returns
Promise
<
BlockInfo
[]
>
get
Multiple
Endorsements
get
Multiple
Endorsements
(
endorsementIds
)
:
Promise
<
EndorsementInfo
[]
>
Parameters
endorsementIds
:
string
[]
Returns
Promise
<
EndorsementInfo
[]
>
get
Multiple
Slot
Transfers
get
Multiple
Slot
Transfers
(
slots
)
:
Promise
<
Transfer
[]
[]
>
Parameters
slots
:
Slot
[]
Returns
Promise
<
Transfer
[]
[]
>
get
Operation
get
Operation
(
operationId
)
:
Promise
<
OperationInfo
>
Parameters
operationId
:
string
Returns
Promise
<
OperationInfo
>
get
Operation
Status
get
Operation
Status
(
operationId
)
:
Promise
<
OperationStatus
>
Parameters
operationId
:
string
Returns
Promise
<
OperationStatus
>
get
Operations
get
Operations
(
operationIds
)
:
Promise
<
OperationInfo
[]
>
Parameters
operationIds
:
string
[]
Returns
Promise
<
OperationInfo
[]
>
get
Slot
Transfers
get
Slot
Transfers
(
slot
)
:
Promise
<
Transfer
[]
>
Parameters
slot
:
Slot
Returns
Promise
<
Transfer
[]
>
get
Stakers
get
Stakers
(
pagination
)
:
Promise
<
Staker
[]
>
Parameters
pagination
:
Pagination
Returns
Promise
<
Staker
[]
>
send
Multiple
Operations
send
Multiple
Operations
(
data
)
:
Promise
<
string
[]
>
Parameters
data
:
OperationInput
[]
Returns
Promise
<
string
[]
>
send
Operation
send
Operation
(
data
)
:
Promise
<
string
>
Parameters
data
:
SendOperationInput
Returns
Promise
<
string
>
send
Operations
send
Operations
(
data
)
:
Promise
<
string
[]
>
Parameters
data
:
SendOperationInput
[]
Returns
Promise
<
string
[]
>
status
status
(
)
:
Promise
<
NodeStatus
>
Returns
Promise
<
NodeStatus
>
Static
buildnet
buildnet
(
)
:
JsonRPCClient
Returns
JsonRPCClient
Static
mainnet
mainnet
(
)
:
JsonRPCClient
Returns
JsonRPCClient
Static
testnet
testnet
(
)
:
JsonRPCClient
Returns
JsonRPCClient
Settings
Member Visibility
Protected
Private
Inherited
External
Theme
OS
Light
Dark
On This Page
constructor
connector
last
Status
options
url
execute
Multiple
Get
Addresses
Bytecode
execute
Multiple
Read
Only
Bytecode
execute
Multiple
Read
Only
Call
execute
Read
Only
Bytecode
execute
Read
Only
Call
fetch
Period
get
Address
Info
get
Addresses
Bytecode
get
Balance
get
Block
get
Blockclique
Block
get
Chain
Id
get
Cliques
get
Current
Slot
get
Data
Store
Keys
get
Datastore
Entries
get
Datastore
Entry
get
Endorsement
get
Events
get
Graph
Interval
get
Minimal
Fee
get
Multiple
Address
Info
get
Multiple
Blocks
get
Multiple
Endorsements
get
Multiple
Slot
Transfers
get
Operation
get
Operation
Status
get
Operations
get
Slot
Transfers
get
Stakers
send
Multiple
Operations
send
Operation
send
Operations
status
buildnet
mainnet
testnet
massa-web3
Loading...