token defi activities
Get defi activities involving a token
QUERY PARAMS
address
string
required
A token address on solana blockchain
from
string
Filter activities from an address
platform
array
Filter by list platform addresses. Maximum 5 addresses
source
array
Filter by list source addresses. Maximum 5 addresses
activity_type
array
Type of defi-activity data
Enum: ACTIVITY_TOKEN_SWAP, ACTIVITY_AGG_TOKEN_SWAP, ACTIVITY_TOKEN_ADD_LIQ, ACTIVITY_TOKEN_REMOVE_LIQ, ACTIVITY_SPL_TOKEN_STAKE, ACTIVITY_SPL_TOKEN_UNSTAKE, ACTIVITY_SPL_TOKEN_WITHDRAW_STAKE
token
string
Filter activities data by token address
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
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
Javascript
Python
Shell
Go
C#
Authorization
Response
Click Try It! to start a request and see the response here!