getUserOperationError
Retrieves the error message from an entrypoint for a User Operation.
Import
Parameters
client
Client<TTransport, TChain, TAccount>
the smart account client to use for RPC requests
request
UserOperationRequest
the uo request to get the error for
entryPoint
EntryPointDef
the entrypoint instance to send the uo to
Returns
string
the error message from the entrypoint