Scroll introduces new primitives such as a new transaction type and an additional field in the receipt type. As such we may need to modify and reimplement certain rpc methods such that we encode and serve this data via the rpc. Additionally scroll exposes new rpc methods so we should extend the rpc api with scroll specific methods. We can do this using the rpc extension pattern defined here.
Overview
Scroll introduces new primitives such as a new transaction type and an additional field in the receipt type. As such we may need to modify and reimplement certain rpc methods such that we encode and serve this data via the rpc. Additionally scroll exposes new rpc methods so we should extend the rpc api with scroll specific methods. We can do this using the rpc extension pattern defined here.