Funny Fun
  1. Token
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. Token

Token comments

GET
/token-comments
Token comments
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://api.nusabyte.com/api/v1/token-comments?tokenId&userAddress=GtYQTjgJ64ny3idgisfPctvvesYWfnzBtDqRPT5mUE3s&orderBy=creationTimeDesc&limit=3&page=1'
Response Response Example
[
    {
        "id": 101,
        "tokenId": "1",
        "tokenAddress": "0x1234567890abcdef1234567890abcdef12345678",
        "userAddress": "0xabcdefabcdefabcdefabcdefabcdefabcdefabcd",
        "userName": "Eve",
        "userImageUrl": "https://example.com/user/eve.png",
        "content": "I believe this token has huge potential!",
        "imageUrl": null,
        "creationTime": 1714308000,
        "creationRelTime": "10 minutes ago",
        "repliedTokenCommentId": null,
        "numOfLikes": 12,
        "likedByUser": true
    }
]

Request

Query Params
tokenId
string 
optional
userAddress
string 
optional
Example:
GtYQTjgJ64ny3idgisfPctvvesYWfnzBtDqRPT5mUE3s
orderBy
enum<string> 
optional
Allowed values:
creationTimeAsccreationTimeDesc
Example:
creationTimeDesc
limit
string 
optional
Example:
3
page
string 
optional
Example:
1

Responses

🟢200Success
application/json
Body
array of:
id
integer 
required
Unique ID of the comment
tokenId
string 
required
ID of the associated token
tokenAddress
string 
required
Smart contract address of the associated token
userAddress
string 
required
Wallet address of the user who posted the comment
userName
string  | null 
optional
Display name of the user
userImageUrl
string 
required
URL of the user's profile image
content
string 
required
Content of the comment
imageUrl
string  | null 
optional
Image URL attached to the comment
creationTime
integer 
required
Creation time of the comment (Unix timestamp in seconds)
creationRelTime
string 
required
Relative creation time (already formatted by backend, e.g., '2 minutes ago')
repliedTokenCommentId
string  | null 
optional
ID of the comment that this comment is replying to
numOfLikes
integer 
required
Number of likes the comment has received
likedByUser
boolean 
required
Whether the current user has liked this comment
Modified at 2025-04-28 08:08:37
Previous
Token holders
Next
Token comment likes
Built with