Skip to main content
GET
Get wallet pact history

Headers

X-API-Key
string | null

Path Parameters

wallet_id
string<uuid>
required

The UUID of the wallet to retrieve pact history for.

Query Parameters

range
string
required

Time window for the history chart. Allowed values: 1d, 7d, 30d.

metric
enum<string>
default:tx_count

Metric used to sort pacts within each bucket. Possible values: tx_count, tx_amount.

Available options:
tx_count,
tx_amount
lang
enum<string>
default:en

Language for localized pact titles. Possible values: en, zh.

Available options:
zh,
en

Response

Successful Response

result
WalletPactHistoryRead · object
required

Wallet pact history payload for chart rendering.

success
boolean
default:true
suggestion
string
default:""
message
string
default:""
meta
PaginationMeta · object | null

Pagination metadata for list responses.

Supports both legacy offset-based and cursor-based pagination. Cursor fields (has_more, after, before) are populated for cursor-paginated endpoints. Legacy fields (offset, limit) are populated when the caller uses the deprecated offset parameter.