Account Abstraction RPC
validateSession
Learn how to use the validateSession JSON-RPC method.
POST
/
#particle_aa_validateSession
Contextualizing validateSession
validateSession
returns a Boolean,result
, indicating the validity of a given session key instance. It takes:- Account config object:
name
- string.version
- string.ownerAddress
- string.biconomyApiKey
- (optional), string. It should only be used if you’d like to use a Biconomy Paymaster.
- Array of sessions:
- Session object:
validUntil
- integer.validAfter
- integer.sessionValidationModule
- string.sessionKeyDataInAbi
(alternative:sessionKeyData
) - array.
- Session object:
- Account config object:
Query example
JSON
Authorizations
Basic authentication header of the form Basic <encoded-value>
, where <encoded-value>
is the base64-encoded string username:password
.
Body
application/json
Version of the JSON-RPC protocol, should be 2.0.
The request identifier.
API method being called.
Available options:
particle_aa_validateSession
Parameters for validating a session.
Was this page helpful?