Hi. I'm testing locally https://github.com/stellar/soroban-react-payment. The problem arises once I provide the token ID (it's CB2PMFLGDVFSJLCLC5EIEXKDF6UGMFSH5SA3NKKBJO7NDD6AR3TFSRV3 on futurenet), the DApp logs this error in the console:
code: -32602
data: "[-32602] got 1 parameters, want 2"
message: "invalid parameters"
I've tracked down the issue and it's an exception caused when attempting to retrieve the token symbol, specifically when calling const response = await server.simulateTransaction(tx); in https://github.com/stellar/soroban-react-payment/blob/dfaf44c96c809612357f3afa342e89c62fe69902/src/helpers/soroban.ts, simulateTx function.
The tokens are detected by the wallet, see attached image.
It seems like an API issue? I haven't done any modification to the DApp and it seems to be using the latest SDK.