capabilities
field present in EIP 5792 calls.
Setting a field like so:
calls
is an array of 5792 calls to send, paymasterServiceUrl
is a
string containing the paymaster URL and context
is an optional configuration object for the paymaster.
The context
field is paymaster specific and it might be required depending on the Paymaster implementation.
sendCalls
as
opposed to writeContractAsync
or similar, this will require code changes.A general guide on adapting existing code can be found
here