Search
Preparing search index...
The search index is not available
0Chain SDK
Options
All
Public
Public/Protected
All
Inherited
Menu
Globals
Network
Class Network
Hierarchy
Network
Index
Interfaces
Block
Response
Block
Summary
Response
Chain
Stats
Response
Config
Confirmation
Merkle
Tree
Path
Register
Client
Response
Transaction
Detail
Response
Transaction
Response
Verification
Ticket
Constructors
constructor
Properties
cluster
Name
consensus
Percentage
miners
sharders
signaturescheme
Methods
check
Transaction
Status
get
Block
Info
ByHash
get
Block
Info
ByRound
get
Block
Summary
ByHash
get
Block
Summary
ByRound
get
Chain
Stats
get
Latest
Finalized
get
Locking
Config
get
Recent
Finalized
submit
Transaction
wait
For
Transaction
ToFinish
Constructors
constructor
new
Network
(
config
:
Config
)
:
Network
Parameters
config:
Config
Returns
Network
Properties
cluster
Name
cluster
Name
:
string
consensus
Percentage
consensus
Percentage
:
number
miners
miners
:
string
[]
sharders
sharders
:
string
[]
signaturescheme
signaturescheme
:
"ed25519"
|
"bls0chain"
Methods
check
Transaction
Status
check
Transaction
Status
(
hash
:
string
)
:
Promise
<
TransactionDetailResponse
>
Parameters
hash:
string
Returns
Promise
<
TransactionDetailResponse
>
get
Block
Info
ByHash
get
Block
Info
ByHash
(
hash
:
string
)
:
Promise
<
BlockResponse
>
Parameters
hash:
string
Returns
Promise
<
BlockResponse
>
get
Block
Info
ByRound
get
Block
Info
ByRound
(
round
:
number
)
:
Promise
<
BlockResponse
>
Parameters
round:
number
Returns
Promise
<
BlockResponse
>
get
Block
Summary
ByHash
get
Block
Summary
ByHash
(
hash
:
string
)
:
Promise
<
BlockSummaryResponse
>
Parameters
hash:
string
Returns
Promise
<
BlockSummaryResponse
>
get
Block
Summary
ByRound
get
Block
Summary
ByRound
(
round
:
number
)
:
Promise
<
BlockSummaryResponse
>
Parameters
round:
number
Returns
Promise
<
BlockSummaryResponse
>
get
Chain
Stats
get
Chain
Stats
(
)
:
Promise
<
ChainStatsResponse
>
Returns
Promise
<
ChainStatsResponse
>
get
Latest
Finalized
get
Latest
Finalized
(
)
:
Promise
<
BlockSummaryResponse
>
Returns
Promise
<
BlockSummaryResponse
>
get
Locking
Config
get
Locking
Config
(
)
:
Promise
<
any
>
Returns
Promise
<
any
>
get
Recent
Finalized
get
Recent
Finalized
(
)
:
Promise
<
BlockSummaryResponse
[]
>
Returns
Promise
<
BlockSummaryResponse
[]
>
submit
Transaction
submit
Transaction
(
tx
:
SignedTransaction
)
:
Promise
<
TransactionResponse
>
Parameters
tx:
SignedTransaction
Returns
Promise
<
TransactionResponse
>
wait
For
Transaction
ToFinish
wait
For
Transaction
ToFinish
(
hash
:
string
)
:
Promise
<
TransactionDetailResponse
>
Parameters
hash:
string
Returns
Promise
<
TransactionDetailResponse
>
Globals
Bls
Keypair
Client
Ed25519
Keypair
Faucet
Keypair
Factory
Network
Block
Response
Block
Summary
Response
Chain
Stats
Response
Config
Confirmation
Merkle
Tree
Path
Register
Client
Response
Transaction
Detail
Response
Transaction
Response
Verification
Ticket
constructor
cluster
Name
consensus
Percentage
miners
sharders
signaturescheme
check
Transaction
Status
get
Block
Info
ByHash
get
Block
Info
ByRound
get
Block
Summary
ByHash
get
Block
Summary
ByRound
get
Chain
Stats
get
Latest
Finalized
get
Locking
Config
get
Recent
Finalized
submit
Transaction
wait
For
Transaction
ToFinish
Signed
Transaction
Transaction
Keypair
generate
Mnemonic
sign
Transaction
sleep