Skip to main content

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​

Success

Schema

    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

  • Array [

  • 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

  • ]

Loading...