Skip to content

Get transfer history

GET
/v2/treasury/wallet/{walletId}/transfer/{currencyName}/history

Get currency transfer history for a wallet with filters and pagination

walletId
required
string

The wallet ID

Example
f52b1f9e-b9a6-4248-afc5-d3ae358e723a
currencyName
required
string

The currency name

Example
USDC
status
string
Allowed values: PENDING COMPLETED FAILED

The status of the transaction

actionType
string
Allowed values: DEPOSIT WITHDRAW

The action type of the transaction

fromDate
string

Start date in YYYY-MM-DDTHH:mm:ss format (UTC timezone, no offset allowed)

toDate
string

End date in YYYY-MM-DDTHH:mm:ss format (UTC timezone, no offset allowed)

sortOrder
string
default: desc
Allowed values: asc desc

The sort order by Date

page[number]
number

Page number (starts at 1)

Example
1
page[size]
number

Items per page

Example
10
X-API-Key
string

API Key

X-API-Secret
string

API Secret

List of transfer history entries

object
items
required
Array<object>
object
currencyTransferHistoryId
required

The history entry ID

string
f52b1f9e-b9a6-4248-afc5-d3ae358e723a
currencyId
required

The currency ID

string
f52b1f9e-b9a6-4248-afc5-d3ae358e723a
currencySymbol
required

The currency symbol

string
USDC
walletId
required

The wallet ID

string
f52b1f9e-b9a6-4248-afc5-d3ae358e723a
fromAddress
required

The source address

string
0x1234...
toAddress
required

The destination address

string
0x5678...
txQueryId
required

The transaction query ID

string
f52b1f9e-b9a6-4248-afc5-d3ae358e723a
actionType
required

The action type

string
Allowed values: TRANSFER_OUT TRANSFER_IN
value
required

The transfer amount

string
100.123456
status
required

The transaction status

string
Allowed values: PENDING COMPLETED FAILED
preBalance
required

Balance before the transaction

string
1000.123456
postBalance
required

Balance after the transaction

string
900.123456
createdAt
required

The transaction timestamp

string
2024-03-20T10:30:00.000Z
updatedAt
required

Last update timestamp

string
2024-03-20T10:30:00.000Z
page
required
object
number
required

The current page number.

number
1
size
required

The number of items per page.

number
10
totalPages
required

The total number of pages available.

number
100
totalCount
required

The total number of items available.

number
1000
hasNext
required

Indicates whether there is a next page available.

boolean
true
hasPrev
required

Indicates whether there is a previous page available.

boolean
true