blockscout / frontend

Front-end application for Blockscout
https://blockscout.com
GNU General Public License v3.0
141 stars 367 forks source link

Celo: Add UI support for gas fees paid in ERC20 tokens #1995

Closed fedor-ivn closed 9 hours ago

fedor-ivn commented 1 month ago

Celo allows gas fees to be paid in ERC20 tokens (the similar feature is also implemented in stability). A recent PR has added support for gas tokens in the API response. We need to incorporate these changes into the UI as well.

Please check the "API Updates" section in the PR for details on the response format and examples from the Alfajores (testnet) instance.

isstuev commented 1 month ago

https://celo-alfajores.blockscout.com/api/v2/transactions/0xc27c7037169347226b2cbdef1379dd34e36c0669d13349cf8131441321578dc9

tom2drum commented 5 days ago

For Celo chain, we will have to set NEXT_PUBLIC_NETWORK_MULTIPLE_GAS_CURRENCIES=true when releasing this feature