@gala-chain/chaincode ∙ API
API > fetchDexProtocolFeeConfig
Function: fetchDexProtocolFeeConfig()
fetchDexProtocolFeeConfig(
ctx):Promise\<DexFeeConfig|undefined>
Retrieves the global DEX protocol fee configuration.
Parameters
▪ ctx: GalaChainContext
GalaChain context object.
Returns
A Promise resolving to the DexFeeConfig object if found, or undefined if not set.