The submitBlock API supports optional GZIP compression for the request body.
Right now, the API docs only indicate how to hint at content type (Content-Type: {application/json, application/octet-stream}).
Following the relay implementation from flashbots/mev-boost-relay, it seems the preference is to support the optional header: Content-Encoding with a single allowed value gzip.
The API docs should reflect this so implementers know how to support this feature.
The
submitBlock
API supports optional GZIP compression for the request body.Right now, the API docs only indicate how to hint at content type (
Content-Type: {application/json, application/octet-stream}
).Following the relay implementation from
flashbots/mev-boost-relay
, it seems the preference is to support the optional header:Content-Encoding
with a single allowed valuegzip
.The API docs should reflect this so implementers know how to support this feature.