Abstract Abstract callCalls pure method of smart-contract and returns its output value.
Address of smart-contract which method is to be executed.
Abi of smart-contract which method is to be executed.
Called method name.
Optional methodArguments: unknown[]Method arguments.
Optional options: objectTransaction options.
Gets token info by address.
Address of token.
Token's fields to get.
Abstract callGets tokens info by addresses.
Addresses of tokens.
Optional tokenFields: SupportedTokenField[]Token's fields to get.
Checks that user has enough balance.
Token to check balance of.
Required user balance in Eth units.
Wallet address, which contains tokens.
Abstract getCalls allowance method in token contract.
Token's amount, allowed to be spent.
Address of the smart-contract corresponding to the token.
Wallet address to spend from.
Wallet or contract address, allowed to spend.
Abstract getGets account native or token balance in wei.
Wallet address, whose balance you want to find out.
Optional tokenAddress: stringAddress of the smart-contract corresponding to the token,
Abstract getAbstract getAbstract getAbstract getAbstract healthUses multicall to make several calls of one method in one contract.
Target contract address.
Target contract abi.
Method name.
Method parameters array, for each method call.
Uses multicall to make several methods calls in one contract.
Target contract address.
Target contract abi.
Methods data, containing methods' names and arguments.
Abstract multicallUses multicall to make many methods calls in several contracts.
Target contract abi.
Contract addresses and methods data, containing methods' names and arguments.
Abstract setGenerated using TypeDoc
Class containing methods for calling contracts in order to obtain information from the blockchain. To send transaction or execute contract method use Web3Private.