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, ACTIVITY_SPL_CLOSE_ACCOUNT, ACTIVITY_SPL_TOKEN_WITHDRAW_STAKE, ACTIVITY_SPL_TOKEN_SPLIT_STAKE, ACTIVITY_SPL_TOKEN_MERGE_STAKE, ACTIVITY_SPL_VOTE_WITHDRAW, ACTIVITY_SPL_SET_OWNER_AUTHORITY, ACTIVITY_SPL_WITHDRAW_FROM_NONCE

from

string

Filter transfer data with direction is from one/multi address. You can filter by multiple addresses by separating them with commas. Example: ?from=address1,address2. Maximum 5 addresses

exclude_from

string

Filter transfer data with direction is not from one/multi address. You can filter by multiple addresses by separating them with commas. Example: ?exclude_from=address1,address2. Maximum 5 addresses

to

string

Filter transfer data with direction is to one/multi address. You can filter by multiple addresses by separating them with commas. Example: ?to=address1,address2. Maximum 5 addresses

exclude_to

string

Filter transfer data with direction is not to one/multi address. You can filter by multiple addresses by separating them with commas. Example: ?exclude_to=address1,address2. Maximum 5 addresses

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

from_time

number

Filter by time range (Unix timestamp in seconds). Example: ?from_time=1720153259&to_time=1720153276

to_time

number

Filter by time range (Unix timestamp in seconds). Example: ?from_time=1720153259&to_time=1720153276

exclude_amount_zero

boolean

Excludes transfer that has amount is zero

value

array

Filter by value range (dollar). Example: ?value[]=1&value[]=10

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

block_time

array

Deprecated

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

RESPONSES

200

OK

Response Body

400

Bad Request

Response Body

401

Authentication failed

Response Body

429

Too Many Requests

Response Body

500

Internal Server Error

Response Body

icon

Javascript

icon

Python

icon

Shell

icon

Go

icon

C#

Authorization

Response

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