Available functions
getProvider
Returns information about the dAPI provider, including who this provider is, the version of their dAPI, and the NEP that the interface is compatible with.
getNetworks
Returns a list of available provider networks
getAccount
Returns connected account address.
getPublicKey
Returns connected account public key.
getNodeCount
Returns the number of nodes in the network.
getBlockHeight
Returns the block height of the network.
getMerkleProof
Returns the Merkle Proof for a given transaction hash.
Transaction ID:
getTransaction
Returns the transaction JSON for a given transaction hash.
Transaction ID:
getBlock
Returns information about a block a given block height or hash.
Block height or hash:
getSmartCodeEvent
Returns information about a block a given block height or hash.
Transaction ID:
getContract
Returns information about a given smart contract.
Script hash:
getStorage
Reads the raw value in smart contract storage.
Script hash:
Key:
getBalance
Returns the ONT and ONG balance for a given address.
getBlockHeightByTxHash
Returns the block hight that a given tx was executed in.
getAllowance
Reads the raw value in smart contract storage.
Asset:
From address:
To address:
invokeRead
Execute a contract invocation in read-only mode.
Script hash:
Operation:
Arguments:
invoke
Execute a contract invocation.
Script hash:
Operation:
Arguments:
Gas price override: (Optional)
Gas limit override: (Optional)
Broadcast override:
deploy
Deploy a smart contract.
Name:
Version:
Author:
Email:
Description:
NeedStorage:
GasPrice (optional):
GasLimit (optional):
Code:
Broadcast override:
send
Invoke a transfer of a specified amount of a given asset from the connected account to another account.
To address:
Asset:
Amount:
Broadcast override:
signMessage
Sign an arbitrary message.
Message:
verifyMessage
Verify a message signature.
Message:
Signature:
Public Key:
TestNet ONG Request
This is not a part of the Ontology dapi, but is a request for 100 testnet ONG. Only one request can be submitted per address. If you have previously received testnet ONG from this faucet before, please change accounts and request again.