For now the parameter is ignored and the protobuf data is always an empty bytes or an empty array of bytes. This diff just prepares the endpoint and protobuf to accept the necessary data which will be computed in a follow-up diff.
TODO:
- invalidate cache when a reorg happens
Depends on D16756