Skip to main content

Get User Coins

GET 

/users/:id/coins

Gets a list of the coins owned by the user and their balances

Request

Path Parameters

    id stringrequired

    A User ID

Query Parameters

    offset integer

    Default value: 0

    The number of items to skip. Useful for pagination (page number * limit)

    limit integer

    Possible values: >= 1 and <= 100

    Default value: 50

    The number of items to fetch

Responses

Success

Schema

    data

    object[]

    required

  • Array [

  • mint stringrequired

    The coin mint address

    ticker stringrequired

    The coin symbol

    decimals integerrequired

    The number of decimals for the coin

    owner_id stringrequired

    The ID of the user associated with the coin

    logo_uri stringnullable

    URL to the coin's logo image

    banner_image_url stringnullable

    URL to the coin's banner image

    has_discord booleanrequired

    Whether the coin has a Discord server

    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

  • ]

Loading...