Learn how to use the isProjectUser JSON-RPC method.
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.
Basic authentication header of the form Basic <encoded-value>
, where <encoded-value>
is the base64-encoded string username:password
.
Request to check if a user is part of your project based on an address.
The body is of type object
.
Boolean response indicating if the user is part of the project.
The response is of type object
.