Skip to main content
GET
/
v0
/
account
/
history
Get transaction history
curl --request GET \
  --url https://1click.chaindefuser.com/v0/account/history
{
  "items": [
    {
      "status": "SUCCESS",
      "depositType": "ORIGIN_CHAIN",
      "recipientType": "DESTINATION_CHAIN",
      "createdAt": "2025-01-15T10:30:00.000000Z",
      "depositAddress": "<string>",
      "depositMemo": "<string>",
      "originAsset": "nep141:arb-0xaf88d065e77c8cc2239327c5edb3a432268e5831.omft.near",
      "amountInFormatted": "100.50",
      "amountInUsd": "100.50",
      "destinationAsset": "nep141:sol-5ce3bf3a31af18be40ba30f721101b4341690186.omft.near",
      "amountOutFormatted": "100.23",
      "amountOutUsd": "100.23",
      "recipient": "<string>",
      "quoteTransactions": [
        {
          "sender": "<string>",
          "txHash": "<string>"
        }
      ],
      "refundTo": "<string>",
      "refundReason": "<string>",
      "refundedAmountFormatted": "<string>",
      "refundedAmountUsd": "<string>",
      "refundFee": "<string>",
      "refundFeeFormatted": "<string>"
    }
  ],
  "nextCursor": "<string>",
  "prevCursor": "<string>"
}

Query Parameters

prevCursor
string

Pass the prevCursor value from a previous response to fetch older items. Omit both cursors for the initial request. Do not pass together with nextCursor.

nextCursor
string

Pass the nextCursor value from a previous response to poll for newer items. Omit both cursors for the initial request. Do not pass together with prevCursor.

status
enum<string>[]

Filter by statuses

Available options:
PENDING_DEPOSIT,
INCOMPLETE_DEPOSIT,
PROCESSING,
SUCCESS,
REFUNDED,
FAILED
Example:
["PROCESSING", "SUCCESS"]
limit
integer
default:20

Maximum number of items to return per page

Required range: 1 <= x <= 100
Example:

20

depositAddress
string

Filter by deposit address

depositMemo
string

Filter by deposit memo. Only has effect when depositAddress is also provided.

Search by deposit address, recipient, sender, or tx hash

depositType
enum<string>[]

Correlated deposit type filter. Index-aligned with recipientType and refundType. Use "null" as a wildcard for that position. Multiple values form OR conditions.

Available options:
ORIGIN_CHAIN,
INTENTS,
CONFIDENTIAL_INTENTS,
null
Example:
["ORIGIN_CHAIN", "INTENTS"]
recipientType
enum<string>[]

Correlated recipient type filter. Index-aligned with depositType and refundType. Use "null" as a wildcard for that position.

Available options:
DESTINATION_CHAIN,
INTENTS,
CONFIDENTIAL_INTENTS,
null
Example:
["DESTINATION_CHAIN", "INTENTS"]
refundType
enum<string>[]

Correlated refund type filter. Index-aligned with depositType and recipientType. Use "null" as a wildcard for that position.

Available options:
ORIGIN_CHAIN,
INTENTS,
CONFIDENTIAL_INTENTS,
null
Example:
["ORIGIN_CHAIN", "INTENTS"]

Response

items
object[]
required

History items for the current page. When fetching older items (via prevCursor), fewer items than limit means you reached the end — no need to fetch further. For newer items (via nextCursor), new data can always appear later.

nextCursor
string

Pass it back as nextCursor to poll for newer items.

prevCursor
string

Pass it back as prevCursor to fetch older items.