wallet_prepareCalls

This method is used to prepare a user operation for submission. It will return a built user operation and a signature request which needs to be signed by the user before submitting to wallet_sendPreparedCalls

Path Parameters

apiKeystringRequiredDefaults to docs-demo

Request

This endpoint expects an object.
params[0]objectRequired

Response

This endpoint returns an object.
object
Array of prepared calls
OR
object

Prepared User Operation (Entrypoint v0.6.0)

OR
object

Prepared User Operation (Entrypoint v0.7.0)

OR
object

Prepared ERC-7597 Permit Signature Request for the paymaster