It currently supports translation to the following targets:
*`debug_getRawReceipts(blockOrHash)` (default)
*`alchemy_getTransactionReceipts(blockOrHash)`
*`eth_getTransactionReceipt(txHash)` batched
The selected target is returned in the response, in a wrapped result.
Response
```json
{
"jsonrpc":"2.0",
"id":1,
"result":{
"method":"eth_getTransactionReceipt",
"result":{
//theactualrawresultfrombackend
}
}
}
```
See [op-node receipt fetcher](https://github.com/ethereum-optimism/optimism/blob/186e46a47647a51a658e699e9ff047d39444c2de/op-node/sources/receipts.go#L186-L253).
## Metrics
## Metrics
See `metrics.go` for a list of all available metrics.
See `metrics.go` for a list of all available metrics.