Estimate the gas and the cost in ETH and USD of a Base transaction before signing it. Input: to, and optionally from, data and value