Optional
_provider: providerA web3.js provider (refer to https://web3js.readthedocs.io/en/v1.8.0/web3.html#setprovider).
Private
_gasPrivate
_gasPrivate
_web3Return the gasLimit set with setGasLimit().
Return the gasPrice set with setGasPrice().
Call a “constant” method and execute its smart contract method in the EVM without sending any transaction. Note calling cannot alter the smart contract state.
A Promise that resolves with the return value(s) of the smart contract method.
An object specifying the contract interaction.
The arguments to be passed to the contract method being called.
Send a transaction to the smart contract and execute its method. Note this can alter the smart contract state. The function returns a PromiEvent, i.e. a Promise that can also emit events. In particular, the events fired during the execution are the following:
A PromiEvent that resolves with the hash of the resulting transaction.
An object specifying the contract interaction.
The arguments to be passed to the contract method being called.
Set transactions gas limit.
The same provider. This allows methods chaining.
Set transactions gas price.
The same provider. This allows methods chaining.
The desired gas price to be used when sending transactions.
Set a private key to sign transactions.
The same provider. This allows methods chaining.
A private key to sign transactions.
Wait for the confirmation of a transaction pushed on-chain.
A Promise that resolve with the same transaction hash _txHash.
The hash of the transaction.
The polling period.
Generated using TypeDoc
Create and initialize a pTokensEvmProvider object.