constructor
Instantiates a ZilliqaLaya instance with providing node url and provider
netUrl
Zilliqa node url
zilliqaClient
Native zilliqa client that provides more features.
callContract
Call a contract on zilliqa network
Zilliqa transaction if no exception happened
callContractAtAddress
Call a contract on zilliqa network
Zilliqa transaction
createAccount
Creates new account and returns address with corresponding mnemonic
Address and mnemonic
deployContract
Deploys a contract on zilliqa network
Zilliqa transaction and contract if no exception happened
getAllAddresses
Get all addresses of imported or created accounts
Array of address
getBalance
Get balance of given address
Balance and nonce
getContractStateAtAddress
Gets contract state within given address
Contract state
getMinimumGasPrice
Get minimum gas price of current network
Gas price
getMsgVersion
Get message version of current network
Message version
getNetworkId
Get ID of current network
Network ID
importAccountFromMnemonic
Imports mnemonic words to add account and returns address
Address
importAccountFromPrivateKey
Imports existing private key to add account and returns address
Address
saveAccount
Saves account to storage
Result of operation
sendToken
Sends zilliqa token from one address to another address
Zilliqa transaction if no exception happened
setDefaultAddress
Sets default account
Result of operation
Generated using TypeDoc
ZilliqaLaya
Main class to communicate with zilliqa network on Laya platform.