get Sources
Deprecated
This method has been replaced by 0x trading. Please use 'portal.trading.zeroX.getSources()' instead.
Replace with
portal.trading.zeroX.getSources(chainId, zeroXApiKey)Content copied to clipboard
Fetches the available swap sources for the specified blockchain network.
Return
A Result<Map<String, String>> containing the available swap sources or an error if the request fails.
Parameters
chain Id
The ID of the blockchain network.