Learn how to use the sendUserOp JSON-RPC method.
sendUserOp
sendUserOp
pushes a structured and signed UserOperation to the network, also handling session keys, sender management, etc. It takes:
name
- string.version
- string.ownerAddress
- string.biconomyApiKey
- (optional), string. Should only be used if you’d like to use a Biconomy Paymaster.sessions
array - Session key object(s).Basic authentication header of the form Basic <encoded-value>
, where <encoded-value>
is the base64-encoded string username:password
.
Request to send a user operation.
The body is of type object
.
Successful response with the result of the user operation.
The response is of type object
.