pancaketrade
pancaketrade copied to clipboard
[feature] auto fetch our token
Is posible to fetch token automatically without manual add.
token thats exist already in our wallet
Hi. This is unlikely to be implemented as it would require extensive development and I'm not prepared for it. If anyone has any pointers on how to implement this, feel free to comment.
There is not anything easy as ballance is not in wallet. It should be a form to iterate over all bsc tokens and get ballance for all .... So not easy
Maybe using something like the debank api. It’s free.
https://docs.open.debank.com/en/
Maybe using something like the debank api. It’s free.
https://docs.open.debank.com/en/
amazing.. i see here.. so its possible.. thank
and may be can be implemented as portofolio.. auto and manuall add
https://docs.open.debank.com/en/reference/api-reference/user
get user token list and balance ..
curl -X 'GET'
'https://openapi.debank.com/v1/user/token_list?id=0x5853ed4f26a3fcea565b3fbc698bb19cdf6deb85&chain_id=bsc&is_all=false&has_balance=true'
-H 'accept: application/json'
Maybe using something like the debank api. It’s free.
https://docs.open.debank.com/en/
I'm roughly against using an external service for this for the following reasons:
- Do we know how good their uptime is?
- Do we know if their node is always sync'd?
- The API is currently free, but will it always remain so?
- The endpoint for token_list only returns 20 results for me, when i have hundreds of tokens with a balance