trezor / blockbook

:blue_book: Trezor address/account balance backend
https://trezor.io
GNU Affero General Public License v3.0
640 stars 635 forks source link

Allow to use eth_call for specific contract addresses (staking/unstaking) #1084

Open tomasklim opened 2 months ago

tomasklim commented 2 months ago

To be able to implement this to Suite https://github.com/trezor/trezor-suite/issues/11402

We need to be able to call eth_call for specific contract addresses (I think blockbook already have those addresses somewhere)

  1. Add some endpoint to blockbook to use eth_call and directly call node
  2. Implement eth_call to connect
  3. Use connect call in Suite

Screenshot 2024-04-25 at 18 01 35

https://satoshilabs.slack.com/archives/C0543DJBK0C/p1714131319854119