π₯Getting User Profile
Get User Profile
Get User Profile
GET https://openapi.ultiverse.io/api/v1/users/:uid
Headers
Authorization*
Bearer <access_token>
{
"id": "57322044661758976",
"username": "[email protected]",
"email": "[email protected]",
"nickname": "user_57322044661758976",
"twitterUid": null,
"twitterId": null,
"discordId": null,
"discordName": null,
"googleId": null,
"googleEmail": null,
"referralCode": "6fe05e43df48",
"referralUid": null
}
Updating User Profile
Get User Profile
POST https://openapi.ultiverse.io/api/v1/users/:uid
body should be json { "nickname": "test_1"}
Headers
Authorization*
Bearer <access_token>
Content-Type*
String
application/json
Request Body
nickname*
String
User Nickname
Get User Wallet
Two types of wallets are associated with an Ultiverse account:
Game Wallet
Asset Wallet
Game Wallet
After registering an Ultiverse account, Ultiverse will automatically generate a Particle wallet for user as a game wallet.
Currently, an Ultiverse account can only have one game wallet. The game wallet is the primary wallet for users to interact with various Ultiverse gaming products, including game interactions and airdrop rewards. The game wallet is multi-chain supported, and you can interact with different chains through the same address game wallet in the game.
Currently supported chains:
Ethereum
BNB Chain
Asset Wallet
Ultiverse is an open metaverse platform, and many assets outside the Ultiverse ecosystem can be widely used in Ultiverse. Users can bind an asset wallet to prove asset ownership. The asset wallet can establish a relationship between user's on-chain assets and user's Ultiverse account. Ultiverse will grant user different rights and bonuses in Ultiverse products based on the on-chain assets they hold.
Currently supported chains:
Ethereum
BNB Chain
Get User Wallets
GET https://openapi.ultiverse.io/api/v1/users/:uid/wallets
Headers
Authorization*
Bearer <access_token>
Last updated