Server API
The Server API provides useful APIs to support application use. It follows a JSON-RPC 2.0 standard.
Endpoint
The Server RPC URL is:
https://api.particle.network/server/rpc
Authentication
Methods
Obtain user info by uuid and token
Parameters:
<string>
- user uuid<string>
- user token
Results:
<object>
- a JSON object containing:uuid: <string>
, user uuidphone: <string>
, user phone numberemail: <string>
, user emailname: <string>
, user nameavatar: <string>
, user avatar urlfacebookId: <string>
, exist when user login with facebookfacebookEmail: <string>
googleId: <string>
, exist when user login with googlegoogleEmail: <string>
appleId: <string>
, exist when user login with appleappleEmail: <string>
twitterId: <string>
, exist when user login with twittertwitterEmail: <string>
telegramId: <string>
, exist when user login with telegramtelegramPhone: <string>
discordId: <string>
, exist when user login with discorddiscordEmail: <string>
githubId: <string>
, exist when user login with githubgithubEmail: <string>
twitchId: <string>
, exist when user login with twitchtwitchEmail: <string>
miscrosoftId: <string>
, exist when user login with miscrosoftmiscrosoftEmail: <string>
linkedinId: <string>
, exist when user login with linkedinlinkedinEmail: <string>
jwtId: <string>
, exist when user login with JWT(Custom Auth)Format:
projectId + : + jwt unique id
wallets: <[object]>
, user wallets with public address
Request example:
👉 Sign up/log in and create your project now
Response example:
Check if the user's address has interacted with your project
Parameters:
<string>
- chain, wallets chain name, the type value is as belowsolana
evm_chain
<string>
- user address
Only verified contract can be locked for user wallet, please add and verify your contract/program address first 👉 Dashboard, and testnet will not check the contract is verified.
Results:
<bool>
Request example:
Response example:
Errors
Last updated