Server API
isProjectUser
Learn how to use the isProjectUser JSON-RPC method.
POST
/
#isProjectUser
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
Authorization
string
headerrequiredBasic authentication header of the form Basic <encoded-value>
, where <encoded-value>
is the base64-encoded string username:password
.
Body
application/json
jsonrpc
string
default: 2.0Version of the JSON-RPC protocol, should be 2.0.
id
integer
default: 0The request identifier.
method
string
default: isProjectUserAPI method being called, should be isProjectUser.
params
string[]
Parameters for the API method call, including an indicator determining Solana or EVM and wallet address.
Response
200 - application/json
jsonrpc
string
id
integer
result
boolean
Was this page helpful?