Learn how to use the validateSession JSON-RPC method.
validateSessionvalidateSession returns a Boolean, result, indicating the validity of a given session key instance. It takes:
name - string.version - string.ownerAddress - string.biconomyApiKey - (optional), string. It should only be used if you’d like to use a Biconomy Paymaster.validUntil - integer.validAfter - integer.sessionValidationModule - string.sessionKeyDataInAbi (alternative: sessionKeyData) - array.Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.
Request to validate a session.
Version of the JSON-RPC protocol, should be 2.0.
"2.0"
The request identifier.
1
API method being called.
particle_aa_validateSession Parameters for the API method call. Parameters for validating a session.
Successful response indicating the session validity.