Echoing a comment I made over at EIP idea: eth_signUserOperation RPC - #3 by SamWilsn : I’d really like to see a JSON Schema for all the JSON-RPC requests and responses.
What you have now is much too ambiguous for people to implement consistently.
For example, nothing in the eth_sendUserOperation
section says that maxFeePerGas
is optional. You have to get down to the note in eth_estimateUserOperationGas
where it’s only implied:
same as
eth_sendUserOperation
gas limits (and prices) parameters are optional