Paymaster RPC
sponsorUserOperation
Learn how to use the sponsorUserOperation JSON-RPC method.
POST
/
#pm_sponsorUserOperation
Contextualizing sponsorUserOperation
sponsorUserOperation
returns a Paymaster signature to sponsor a given UserOperation, pulling from the USDT balance of the Paymaster. It takes:- UserOperation object.
entrypointAddress
- string.
Query example
JavaScript
Body
application/json
Version of the JSON-RPC protocol, should be 2.0.
The request identifier.
API method being called.
Available options:
pm_sponsorUserOperation
Parameters for sponsoring a user operation.
Was this page helpful?