Skip to main content
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 - either solana or evm_chain.
    • Address - string.

Query example

JavaScript

Authorizations

Authorization
string
header
required

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.

jsonrpc
string
default:2.0

Version of the JSON-RPC protocol, should be 2.0.

Example:

"2.0"

id
integer
default:0

The request identifier.

Example:

0

method
string
default:isProjectUser

API method being called, should be isProjectUser.

Example:

"isProjectUser"

params
string[]

Parameters for the API method call, including an indicator determining Solana or EVM and wallet address.

Example:

Response

200 - application/json

Boolean response indicating if the user is part of the project.

jsonrpc
string
Example:

"2.0"

id
integer
Example:

0

result
boolean