EVM Functions
We will explain how you can create fast queries using EVM Network on this page.
getBalance(chainId,address)
With the getBalance function, you can retrieve the balance of the wallet address you want in the desired EVM. For example, to select the Ethereum blockchain, you would write "1".
getAllBalance(address,separator,lineBreak)
You can use the getAllBalance function to query the balances of an address across all EVM chains.
The function allows you to configure separators and line breaks. You can try the following example to separate chains and balances with "," and line endings with ";":
getBlockNumber(chainId)
You can use the getBlockNumber function to retrieve the latest block number on a chain.
getGasPrice(chainId)
You can use the getGasPrice function to retrieve the gas price on a chain.
Last updated