Skip to main content
The following code demonstrates how to accurately the current pool creation fee in HBAR using a combination of JSON RPC and REST API. The pool creation fee is used when creating a new liquidity pool.
The current fee for creating V1 liquidity pools is $50 USD, paid in HBAR. The exchange rate information is used to accurately determine the equivalent value in HBAR.
The pairCreateFee() function will return the current fee expressed in Tinycent (US).
No gas cost
Resources:
Typescript