Learn how to use the createUserOp JSON-RPC method.
createUserOpcreateUserOp will construct and return a UserOperation object and hash using a transaction or collection of transactions, alongside smart account and fee payment information. It takes:
name - string, either BICONOMY, CYBERCONNECT, or SIMPLE.version - string, either 1.0.0 or 2.0.0.ownerAddress - string.biconomyApiKey - (optional, for using Biconomy’s Paymaster), string.feeQuote object, retrieved from getFeeQuotes, only used if you’re paying the gas fee in an ERC-20 token.Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.
Request to create a user operation.
Version of the JSON-RPC protocol, should be 2.0.
"2.0"
The request identifier.
1
API method being called.
particle_aa_createUserOp Parameters for the API method call. Parameters for creating a user operation.
Successful response with created user operation details.