get Quote
Deprecated
This method has been replaced by 0x trading. Please use 'portal.trading.zeroX.getQuote()' instead.
Replace with
portal.trading.zeroX.getQuote(request, zeroXApiKey)Content copied to clipboard
Retrieves a swap quote for the specified blockchain network.
Return
A Result<Quote> containing the swap quote details or an error if the request fails.
Parameters
chain Id
The ID of the blockchain network (e.g., "eip155:1" for Ethereum Mainnet).
args
The parameters required for fetching the swap quote.