estimateGas()
SDK
estimateGas()
Description
Estimate the gas consumption for the transaction
Nature
Method of Class
Parameters
Name
Type
Required
Description
from
string
YES
The EVM-compatible wallet address of the user
to
string
YES
The contract address of Tako Open Curation (Use takoHubInfo() to retrieve the contract address)
data
string
YES
The calldata for calling the Tako Open Curation Contract
value
bigint
YES
Token amount
Example Code
Example Returns
Last updated