NativeAppFee(address, chainId): object
address
chainId
object
Retrieves fee details for a native application based on the given blockchain address and chain ID.
`0x${string}`
The application fee contract address to read the fee information from.
number
The chainid to read from.
feeH1: undefined | bigint
undefined
bigint
The current fee in the native currency (H1).
feeUsd: undefined | bigint
The current fee in USD equivalent value.
h1Usd: undefined | bigint
The calculated conversion rate of the native currency to USD. Returns undefined if necessary data is unavailable.
packages/wagmi/src/contract/NativeAppFee.tsx:9arrow-up-right
Last updated 1 year ago