cronos icon indicating copy to clipboard operation
cronos copied to clipboard

[Feature request] trace API support for graph callHandler

Open crypto-steve-ng opened this issue 3 years ago • 0 comments

Is your feature request related to a problem? Please describe.

Subgraph can be used to index events. However if there's no event emitted, user can also listen for contract calls through callHandler - ref: https://thegraph.com/docs/en/developer/create-subgraph-hosted/

Currently graph throws the following error when we try to listen for call handler in cronos. 截圖 2022-05-27 上午10 37 17

Describe the solution you'd like In order to support callHandlers in subgraph, we need trace API support in the rpc.

Docs around trace API:

  • https://docs.alchemy.com/alchemy/enhanced-apis/trace-api
  • https://www.quicknode.com/docs/binance-smart-chain/trace_filter

Describe alternatives you've considered n/a

Additional context

crypto-steve-ng avatar May 27 '22 04:05 crypto-steve-ng