Skip to content
Estimate Fees

Estimate Fees

Calls

[contract.populate("transfer", [address, 1n])]

Response

{
  "isError": false,
  "isLoading": false,
  "isPending": true,
  "suggestedMaxFee": "0 ETH"
}

This demo shows a fee estimate fees for smart contract calls.

Link to GitHub

Hooks

  • useAccount
  • useContract
  • useEstimateFees
  • useNetwork