Funny Fun
  1. Authentication
Funny Fun
  • Overview
  • Token
    • Get tokens
      GET
    • Create token
      POST
    • Create token metadata
      POST
    • Get token holders
      GET
    • Get token
      GET
    • Token charts
      GET
    • Token holders
      GET
    • Token comments
      GET
    • Token comment likes
      POST
    • Token comments
      POST
    • Token favorites
      POST
    • Delete token favorites
      DELETE
  • Authentication
    • Check authentication status
      GET
    • Request nonce for authentication
      POST
  • Withdrawals
    • Get withdrawals
      GET
    • Create withdrawal
      POST
  • Users
    • Get user by address
      GET
    • Update user
      PUT
    • user preference
      PUT
  • Airdrop
    • Airdrop tasks
      GET
    • Airdrop claims
      POST
    • Airdrop leaderboard
      GET
  • Markets
    • Markets
      GET
    • Market buy price
      POST
    • Premarket buy amount
      POST
    • Market buy amount
      POST
    • Market sell price
      POST
    • Market sell amount
      POST
  • Deposits
    • Create deposit
    • list of deposit
  • Config
    GET
  • Blockchains
    GET
  • Orders
    POST
  • Accounts
    GET
  • Trades
    GET
  • Transactions
    GET
  1. Authentication

Check authentication status

GET
/auth-check
Check authentication status
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://api.nusabyte.com/api/v1/auth-check?blockchainKey=solana:EtWTRABZaYq6iMfeYKouRu166VU2xqa1'
Response Response Example
{
    "blockchainKey": "solana:EtWTRABZaYq6iMfeYKouRu166VU2xqa1",
    "userAddress": "GtYQTjgJ64ny3idgisfPctvvesYWfnzBtDqRPT5mUE3s",
    "userName": "muldoko",
    "userDescription": "A collector of fine old cars",
    "userImage": "ipfs://QmXE1Nbh9awNEAyTM8w9cJgwthunLy6cjmdZR8a33xvcC4",
    "userImageUrl": "https://ipfs.nusabyte.com/ipfs/QmXE1Nbh9awNEAyTM8w9cJgwthunLy6cjmdZR8a33xvcC4",
    "numOfComments": 6,
    "numOfLikedComments": 0,
    "favTokenIds": [
        "token:9m7QsqVB6PZN6u5qBsrC746REDNzabSCrzDWdMkD1KuS",
        "token:EUYGd876a7HTeQibUsTe7Mao7PVPgU2XoEmFcJMFsSBx"
    ],
    "favTokenAddresses": [
        "9m7QsqVB6PZN6u5qBsrC746REDNzabSCrzDWdMkD1KuS",
        "EUYGd876a7HTeQibUsTe7Mao7PVPgU2XoEmFcJMFsSBx"
    ],
    "preferenceOfMarketListViewStyle": "list"
}

Request

Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.
Example:
Authorization: Bearer ********************
Query Params
blockchainKey
string 
required
Example:
solana:EtWTRABZaYq6iMfeYKouRu166VU2xqa1

Responses

🟢200OK
application/json
User authentication details
Body
blockchainKey
string 
required
The key representing the blockchain being used (e.g., "evm", "solana").
userAddress
string 
required
The user's wallet address on the specified blockchain
userName
string  | null 
optional
Display name of the user
userDescription
string  | null 
optional
Description or bio of the user
userImage
string  | null 
optional
IPFS path or identifier for the user's profile image
userImageUrl
string 
required
Fully resolved URL to the user's profile image, often generated from userImage
numOfComments
integer 
required
Number of comments the user has posted
numOfLikedComments
integer 
required
Number of comments the user has liked
favTokenIds
array[string]
optional
List of the user's favorite token IDs
favTokenAddresses
array[string]
optional
List of the user's favorite token contract addresses
preferenceOfMarketListViewStyle
enum<string> 
optional
The user's preferred market list view style ('grid' or 'list')
Allowed values:
gridlist
Modified at 2025-04-25 07:00:51
Previous
Delete token favorites
Next
Request nonce for authentication
Built with