Get User Coin
GET/users/:id/coins/:mint
Gets information about a specific coin owned by the user and their wallets
Request
Path Parameters
id stringrequired
A User ID
mint stringrequired
The mint address of the coin
Responses
- 200
Success
- application/json
- Schema
- Example (from schema)
Schema
Array [
]
data
object
mint stringrequired
The coin mint address
ticker stringrequired
The coin symbol
decimals integerrequired
The number of decimals for the coin
logo_uri stringnullable
URL to the coin's logo image
balance integerrequired
The total balance of the coin in the user's account (in wei)
balance_usd numberrequired
The total balance of the coin in the user's account in USD
accounts
object[]
required
account stringrequired
The token account address
owner stringrequired
The owner wallet of the token account
balance integerrequired
The balance of the coin in the user's account (in wei)
balance_usd numberrequired
The balance of the coin in the user's account in USD
is_in_app_wallet booleanrequired
Whether the account is in the user's in-app wallet
{
"data": {
"mint": "9LzCMqDgTKYz9Drzqnpgee3SGa89up3a247ypMj2xrqM",
"ticker": "$AUDIO",
"decimals": 8,
"logo_uri": "https://example.com/logo.png",
"balance": 1000000000,
"balance_usd": 1.23,
"accounts": [
{
"account": "CTyFguG69kwYrzk24P3UuBvY1rR5atu9kf2S6XEwAU8X",
"owner": "HzZ3EKACbH6XEHs59Rt1adVzUKv5cTDE9o9YWFaMhwpF",
"balance": 1000000000,
"balance_usd": 1.23,
"is_in_app_wallet": true
}
]
}
}
Loading...