Server API
isProjectUser
Learn how to use the isProjectUser JSON-RPC method.
POST
Understanding isProjectUser
-
isProjectUser
returns a Boolean representing whether or not a specified user (their public address assumedly derived from social login) has interacted with or belongs to your project. It takes:-
Chain
- eithersolana
orevm_chain
. -
Address
- string.
-
Query example
JavaScript
Authorizations
Basic authentication header of the form Basic <encoded-value>
, where <encoded-value>
is the base64-encoded string username:password
.
Body
application/json
Request to check if a user is part of your project based on an address.
Version of the JSON-RPC protocol, should be 2.0.
Example:
"2.0"
The request identifier.
Example:
0
API method being called, should be isProjectUser.
Example:
"isProjectUser"
Parameters for the API method call, including an indicator determining Solana or EVM and wallet address.
Example:
[
"evm_chain",
"0x6D5fCEd0C74F22a1B145ef48B25527Ce9BF829bF"
]
Was this page helpful?