solscan logo

token transfer

v2

Get transfer data of a token

QUERY PARAMS

address

string

required

A token address on solana blockchain

activity_type

array

Type of transfer data

Enum: ACTIVITY_SPL_TRANSFER, ACTIVITY_SPL_BURN, ACTIVITY_SPL_MINT, ACTIVITY_SPL_CREATE_ACCOUNT

from

string

Filter transfer data with direction is from an address

to

string

Filter transfer data with direction is to an address

amount

array

Filter transfer data by by amount. But you need to pass token address first because amount filter will be belong to one token address. Ex: Filter amount from 1 to 2 SOL ?amount[]=1&amont[]=2&token=So11111111111111111111111111111111111111112

block_time

array

Used when you want to filter data by block time. Format time: UnixTime in seconds. You need to pass array into http query to filter by start and stop block_time. Example: ?block_time[]=1720153259&block_time[]=1720153276

exclude_amount_zero

boolean

Exculde transfer that has amount is zero

page

number

Page number for pagination

page_size

number

Number items per page

Enum: 10, 20, 30, 40, 60, 100

sort_by

string

The parameter allows you to specify the field by which the returned list will be sorted

Enum: block_time

sort_order

string

The parameter allows you to specify the sort order

Enum: asc, desc

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!