Account's Tx History

Retrieve the transaction history for a specific wallet address. Just provided with private partners. Please consider to use this API with care.

Endpoint

GET /api/v1/partner/portfolio/tx-history

Request Parameters

Name
Type
Required
Description

address

string

Yes

The wallet address to fetch transaction history for.

limit

int

No

Number of records to return (default: 20, max: 20).

cursor

string

No

Transaction digest to use as a cursor for pagination.

activity

string

No

Filter transactions by activity type.

protocol

string

No

Filter transactions by protocol (e.g., cetus-clmm, turbos-clmm, etc.).

from

int

No

Filter start time (timestamp miliseconds) for filtering transactions.

to

int

No

Filter to date (timestamp miliseconds) for filtering transactions.

List of supported protocols:

Protocol Key
Protocol Name

magma-clmm

Magma

steamm-cpmm

STEAMM

momentum-clmm

Momentum

interest-cpmm

Interest Protocol

cetus-clmm

Cetus

bluefin-clmm

Bluefin

kriya-clmm

Kriya V3

kriya-cpmm

Kriya V2

turbos-clmm

Turbos

aftermath-cpmm

Aftermath

bluemove-cpmm

BlueMove

flowx-cpmm

FlowX V2

flowx-clmm

FlowX V3

deepbookv3

Deepbook V3

List of supported activities:

Activity Key
Description

send

Sending tokens

receive

Receiving tokens

swap

Swapping tokens

add_liquidity

Adding liquidity

remove_liquidity

Removing liquidity

contract_interaction

Contract interaction

Note:

  • If you want to fetch the latest transactions, omit the cursor, from, and to parameters.

  • If you want to filter transactions by date, use the from and to parameters with timestamps in milliseconds.

  • For subsequent pages, include the cursor parameter with the transaction digest from the previous response.

  • The limit parameter is capped at 20 transactions per request.


Headers

Header
Required
Description

x-api-key

Yes

API key for authorization.


cURL Example


Response

Fields

Field
Type
Nullable
Description

data

array

No

Array of transaction history objects.

nextPageCursor

string

Yes

Cursor value to use for the next page of results.

Transaction History Object

Field
Type
Nullable
Description

digest

string

No

Transaction digest (used as cursor for pagination).

timestamp_ms

string

No

Transaction timestamp in milliseconds.

type

string

No

Transaction type (e.g., swap, transfer, etc.).

coin_changes

array

No

Array of coin changes in the transaction.

address_interactions

array

No

Addresses that interacted in this transaction.

gas_fee

number

No

Transaction gas fee.

status

string

No

Transaction status (e.g., success, failed).

sender

string

No

Sender address.

events

array

No

Array of events in the transaction.

Coin Change Object

Field
Type
Nullable
Description

type

string

No

Coin type.

symbol

string

No

Coin symbol.

amount

number

No

Coin amount.

usd_value

number

No

USD value of the coin amount.

logo

string

Yes

URL to coin logo image.

scamFlag

number

No

Flag indicating if the coin is marked as scam.

Address Interaction Object

Field
Type
Nullable
Description

address

string

No

Interacting address.

type

string

No

Type of address (contract, wallet, etc.).

name

string

Yes

Name of the address if available.

logo

string

Yes

Logo URL for the address if available.

Success Response

Response when no data is available


See also: Environment Setup

Last updated