llamanodes / web3-proxy

Fast loadbalancing and caching proxy for Ethereum or chains with similar JSON-RPC methods
https://llamanodes.com
GNU General Public License v3.0
148 stars 33 forks source link

Add chain_id to balance/:tx_hash endpoint to pick up deposit transactions #125

Closed yenicelik closed 1 year ago

yenicelik commented 1 year ago

how do we handle with multiple chain-ids? One application (as I understand) only passes on requests to a single blockchain. In this case, multiplexing must occur prior to getting the API request, right? @WyseNynja

BlinkyStitt commented 1 year ago

you have to use the rpc connected to the chain you care about. If you post to a polygon tx to the eth endpoint, the eth web3-proxy wouldn't be able to verify it

so eth payments get posted to eth.llamarpc.com, polygon payments to polygon.llamarpc.com, etc.