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