Search
Preparing search index...
The search index is not available
ontology-ts-sdk
Options
All
Public
Public/Protected
All
Inherited
Externals
Only exported
Menu
Globals
"network/websocket/websocketBuilder"
External module "network/websocket/websocketBuilder"
Index
Functions
get
Allowance
get
Balance
get
Block
get
Block
Hash
get
Block
Height
get
Block
Height
ByTx
Hash
get
Block
Json
get
Block
Txs
ByHeight
get
Contract
get
Contract
Json
get
Gas
Price
get
Grant
Ong
get
Mempool
TxCount
get
Mempool
TxState
get
Merkle
Proof
get
Network
Id
get
Node
Count
get
Raw
Transaction
get
Raw
Transaction
Json
get
Smart
Code
Event
get
Storage
get
Unbound
Ong
get
Version
send
Heart
Beat
send
Raw
Transaction
send
Subscribe
Functions
get
Allowance
get
Allowance
(
asset
:
string
, from
:
Address
, to
:
Address
)
:
object
Parameters
asset:
string
from:
Address
to:
Address
Returns
object
Action
:
string
Asset
:
string
From
:
string
To
:
string
Version
:
string
get
Balance
get
Balance
(
address
:
Address
)
:
object
Parameters
address:
Address
Returns
object
Action
:
string
Addr
:
string
Version
:
string
get
Block
get
Block
(
value
:
number
|
string
)
:
object
Parameters
value:
number
|
string
Returns
object
get
Block
Hash
get
Block
Hash
(
value
:
number
)
:
object
Parameters
value:
number
Returns
object
Action
:
string
Height
:
number
Version
:
string
get
Block
Height
get
Block
Height
(
)
:
object
Returns
object
Action
:
string
Version
:
string
get
Block
Height
ByTx
Hash
get
Block
Height
ByTx
Hash
(
hash
:
string
)
:
object
Parameters
hash:
string
Returns
object
Action
:
string
Hash
:
string
Version
:
string
get
Block
Json
get
Block
Json
(
value
:
number
|
string
)
:
object
Parameters
value:
number
|
string
Returns
object
get
Block
Txs
ByHeight
get
Block
Txs
ByHeight
(
value
:
number
)
:
object
Parameters
value:
number
Returns
object
Action
:
string
Height
:
number
Version
:
string
get
Contract
get
Contract
(
hash
:
string
)
:
object
Parameters
hash:
string
Returns
object
Action
:
string
Hash
:
string
Raw
:
string
Version
:
string
get
Contract
Json
get
Contract
Json
(
hash
:
string
)
:
object
Parameters
hash:
string
Returns
object
Action
:
string
Hash
:
string
Raw
:
string
Version
:
string
get
Gas
Price
get
Gas
Price
(
)
:
object
Returns
object
Action
:
string
Version
:
string
get
Grant
Ong
get
Grant
Ong
(
address
:
Address
)
:
object
Parameters
address:
Address
Returns
object
Action
:
string
Addr
:
string
Version
:
string
get
Mempool
TxCount
get
Mempool
TxCount
(
)
:
object
Returns
object
Action
:
string
Version
:
string
get
Mempool
TxState
get
Mempool
TxState
(
txHash
:
string
)
:
object
Parameters
txHash:
string
Returns
object
Action
:
string
Hash
:
string
Version
:
string
get
Merkle
Proof
get
Merkle
Proof
(
hash
:
string
)
:
object
Parameters
hash:
string
Returns
object
Action
:
string
Hash
:
string
Version
:
string
get
Network
Id
get
Network
Id
(
)
:
object
Returns
object
Action
:
string
Version
:
string
get
Node
Count
get
Node
Count
(
)
:
object
Returns
object
Action
:
string
Version
:
string
get
Raw
Transaction
get
Raw
Transaction
(
txHash
:
string
)
:
object
Parameters
txHash:
string
Returns
object
Action
:
string
Hash
:
string
Raw
:
string
Version
:
string
get
Raw
Transaction
Json
get
Raw
Transaction
Json
(
txHash
:
string
)
:
object
Parameters
txHash:
string
Returns
object
Action
:
string
Hash
:
string
Raw
:
string
Version
:
string
get
Smart
Code
Event
get
Smart
Code
Event
(
value
:
number
|
string
)
:
object
Parameters
value:
number
|
string
Returns
object
get
Storage
get
Storage
(
codeHash
:
string
, key
:
string
)
:
object
Parameters
codeHash:
string
key:
string
Returns
object
Action
:
string
Hash
:
string
Key
:
string
Version
:
string
get
Unbound
Ong
get
Unbound
Ong
(
address
:
Address
)
:
object
Parameters
address:
Address
Returns
object
Action
:
string
Addr
:
string
Version
:
string
get
Version
get
Version
(
)
:
object
Returns
object
Action
:
string
Version
:
string
send
Heart
Beat
send
Heart
Beat
(
)
:
object
Returns
object
Action
:
string
Version
:
string
send
Raw
Transaction
send
Raw
Transaction
(
hexData
:
string
, preExec
?:
boolean
)
:
object
Parameters
hexData:
string
Default value
preExec:
boolean
= false
Returns
object
Action
:
string
Data
:
string
Version
:
string
send
Subscribe
send
Subscribe
(
subscribeEvent
?:
boolean
, subscribeJsonBlock
?:
boolean
, subscribeRawBlock
?:
boolean
, subscribeBlockTxHashes
?:
boolean
)
:
object
Parameters
Default value
subscribeEvent:
boolean
= false
Default value
subscribeJsonBlock:
boolean
= false
Default value
subscribeRawBlock:
boolean
= false
Default value
subscribeBlockTxHashes:
boolean
= false
Returns
object
Action
:
string
Subscribe
Block
TxHashs
:
boolean
Subscribe
Event
:
boolean
Subscribe
Json
Block
:
boolean
Subscribe
Raw
Block
:
boolean
Version
:
string
Globals
"network/websocket/websocket
Builder"
get
Allowance
get
Balance
get
Block
get
Block
Hash
get
Block
Height
get
Block
Height
ByTx
Hash
get
Block
Json
get
Block
Txs
ByHeight
get
Contract
get
Contract
Json
get
Gas
Price
get
Grant
Ong
get
Mempool
TxCount
get
Mempool
TxState
get
Merkle
Proof
get
Network
Id
get
Node
Count
get
Raw
Transaction
get
Raw
Transaction
Json
get
Smart
Code
Event
get
Storage
get
Unbound
Ong
get
Version
send
Heart
Beat
send
Raw
Transaction
send
Subscribe
Generated using
TypeDoc