Crypto Pank

Results 146 comments of Crypto Pank

To resolve ticker we perform few steps: - resolve ticker id: this may take vary time to resolve as we do different operaion: - `if` we already know ticker id...

> Does this take exactly 1 CoinGecko call, and not N calls? If so, why is it slow like this: yes, in this case we make only one call

> Do we have to make that 1 CoinGecko call again per token? Why? that is about searching in local list of already fetched ticker ids. So in this case...

> Do you mean it's slow because it's trying to match the ticker IDs in memory? yes, as instead of searching for one token in 13k ticker ids, we search...

not quite sure, i guess we pass these values as request params, will double check it

> * If I choose MATIC Polygon -> WETH, it says "Swap Pair Not Found". we got this error, as api call returns the next error: ``` { errors =...

params we trying to send: **["toChain": 137, "fromToken": "0x0000000000000000000000000000000000000000", "fromAmount": "300000000000000000", "fromChain": 137, "toToken": "0x7ceB23fD6bC0adD59E62ac25578270cFf1b9f619", "fromAddress": "0xbbce83173d5c1D122AE64856b4Af0D5AE07Fa362", "slippage": "1.0"]**

> * MATIC Polygon -> USDC is better, and the Fees/Current Price/Minimum Received appears, but the To amount for USDC remains 0 and "Minimum Received" is "0.0000 USDC" too when...

> If we are already doing it, can you point me to where I can find the `debugLog()` output for the URLs. If we aren't, add those? Then I can...

> If I choose MATIC Polygon -> WETH, it says "Swap Pair Not Found". looks like it happens because of parameter `slippage`, we send string value `1.0`, but with `1`...