My App

Get account fund moving history

Get all fund moving history for an account with optional filtering by asset and type, and pagination support.

GET
/accounts/fund-moving
OBSIDIAN-KEY<token>

In: header

OBSIDIAN-SECRET<token>

In: header

Query Parameters

assets?array<string>

Optional asset filters. If provided, only returns fund moving records for these assets.

type?string

Optional type filter. If provided, only returns fund moving records of this type.

created_at_from?string

Optional created at from timestamp in nanoseconds for filtering data. If provided, only returns fund moving records created after this timestamp.

Formatint64
created_at_to?string

Optional created at to timestamp in nanoseconds for filtering data. If provided, only returns fund moving records created before this timestamp.

Formatint64
limit?integer

Maximum number of records to return. Default is 50, maximum is 1000.

Formatint32
offset?integer

Number of records to skip for pagination. Default is 0.

Formatint32

Response Body

application/json

application/json

curl -X GET "https://api.dev.obsidian.exchange/accounts/fund-moving"
{
  "fund_moving": [
    {
      "user_address": "string",
      "asset": "string",
      "nonce": 0,
      "unique_id": "string",
      "amount": "string",
      "type": "string",
      "metadata": "string",
      "created_at": "string"
    }
  ],
  "pagination": {
    "limit": 0,
    "offset": 0,
    "total": "string"
  }
}
{
  "code": 0,
  "message": "string",
  "details": [
    {
      "@type": "string",
      "property1": null,
      "property2": null
    }
  ]
}