attachFlowSource and quote the token they pick with getFlowQuote. getFlowSourceTokenOptions needs no session token.
Each option is one network with its chain family and the tokens accepted on it. A network on a chain family that your SDK version does not recognize is left out of the list. Payment sources explains deposit-address payments.
Usage
Parameters
Returns
Promise<FlowSourceTokenOption[]>:
A token’s
address is its contract address, or a chain-specific placeholder for the network’s native token.
Examples
Attach and quote the token the payer picks
Errors
React
useGetFlowSourceTokenOptions fetches the list once per flow and source, and stays disabled until flowId is defined. Override the caching with queryParams.staleTime.
Related
attachFlowSource: attach the deposit address as the payment source.getFlowQuote: quote the token and get the deposit address.- Payment sources: how deposit-address payments work.