While this SDK is still supported, we recommend using newer JavaScript SDK, which is optimized for React Native, but also comes with a host of other benefits.
Before sending a transaction, you can use the public client to estimate the gas
fees. Some chains also support custom gas estimation methods.Here are examples of how to get a gas estimate using viem: