solscan logo

account token-accounts

v2

Get token accounts of an account

QUERY PARAMS

address

string

required

A Wallet address on solana blockchain

type

string

required

Type of token

Enum: token, nft

page

number

Page number for pagination

page_size

number

The number of items per page

Enum: 10, 20, 30, 40

hide_zero

string

Filter tokens that have amount is zero

Enum: true, false

RESPONSES

200

OK

Response Body

400

Bad Request

Response Body

401

Authentication failed

403

Too Many Requests

500

Internal Server Error

icon

Javascript

icon

Python

icon

Shell

icon

Go

icon

C#

Authorization

Response

Click Try It! to start a request and see the response here!