mezo_estimateCost
Last updated
Was this helpful?
Last updated
Was this helpful?
Estimates the cost necessary to execute a transaction.
This method will use 40
.
object
- Object - Required with the following fields:
from
- DATA, 20 Bytes - The address the transaction is send from.
from
- DATA, 20 Bytes - The address the transaction is send from.
from
- DATA, 20 Bytes - The address the transaction is send from.
object
containing:
decimals - The decimals cost values are presented with.
usdCost
- Estimated USD cost presented using decimals
. Divide by 10^decimals
to obtain the base USD value.
btcCost
- Estimated BTC cost presented using decimals
. Divide by 10^decimals
to obtain the base BTC value.