Skip to main content
POST
Get perpetual funding history for a subaccount

Body

application/json

Parameters for private/get_funding_history.

subaccount_id, start_timestamp, and end_timestamp accept either a JSON number or a string-encoded integer. Pagination is page >= 1, page_size in 1..=1000.

end_timestamp
integer<int64> | null
instrument_name
string | null
page
integer<uint32> | null
Required range: x >= 0
page_size
integer<uint32> | null
Required range: x >= 0
start_timestamp
integer<int64> | null
subaccount_id
integer<uint64> | null
Required range: x >= 0
wallet
string | null

Response

Success

events
object[]
required
pagination
object
required

Response envelope for paginated RPCs.