List asset activities
List parsed smart contract event/log(s) for a single asset
Path Parameters
- assetId string required
ID for the asset to fetch activities for
Query Parameters
- walletAddress string
This address must be a funding wallet
- fromUTC string
Filter for activities from this date (inclusive). Value should be a ISO 8601 string or RFC 2822 string
- toUTC string
Filter for activities up to this date (inclusive). Value should be a ISO 8601 string or RFC 2822 string
- eventTypes string
Possible values: [
UserDeposit
,UserWithdraw
,LockedFunds
,LockedFundsWithDeposit
,LockedFundsRevoked
,LockedFundsPaymentConfirmation
]Comma-separated list of smart contract event names that should be included
- limit number
Amount of records to return (max 1000)
- cursor string
Cursor to retrieve the next page
- order string
Possible values: [
asc
,desc
]Order of activities. Use "asc" for oldest first and "desc" for newest first
- 200
- 400
- 403
Successful operation
- application/json
- Schema
- Example (from schema)
Schema
items object[]
Array [eventId string requiredEvent identifier. A unique ID generated from hash of blockHash, transactionHash, logIndex
eventType string requiredSmart contract event name
chain string requiredBlockchain from where the event was fetched. Currently only supports Polygon
lockedFundCurrency string requiredTransaction currency symbol. Currently only supports USDC currency
blockNumber number requiredBlockchain block number of the transaction initiating the event
transactionHash string requiredThe transaction id on the blockchain
transactionDate string requiredISO formatted date of the event
sourceAddress string requiredInitiating actor of the transaction containing this event, in the form of a smart contract or wallet address
targetAddress stringTarget actor of the transaction containing this event, in the form of a smart contract or wallet address
amount numberValue of the transaction
]pageInfo object
Page info for paginated results, undefined if no page info
nextCursor stringCursor for next page, undefined if no more pages
previousCursor stringCursor for previous page, undefined if no previous page
{
"items": [
{
"eventId": "0xa0a08a5c5e72cc7d52beb1867bb5c328809af27c423e202b2c6394e528b5797b",
"eventType": "LockedFundsWithDeposit",
"chain": "Polygon",
"lockedFundCurrency": "USDC",
"blockNumber": 3009,
"transactionHash": "0xa0a08a5c5e72cc7d52beb1867bb5c328809af27c423e202b2c6394e528b5797b",
"transactionDate": "2023-03-16T03:13:18.142Z",
"sourceAddress": "0x777ab28C2A21cD99B3cDb27A416ed453b3b7cD3f",
"targetAddress": "0xa0947892376e8c4da58ce68cdb100412aa126222",
"amount": 10
}
],
"pageInfo": {
"nextCursor": "dGhlIG5leHQgY3Vyc29yIGdvZXMgaGVyZQ==",
"previousCursor": "dGhlIHByZXZpb3VzIGN1cnNvciBnb2VzIGhlcmU="
}
}
Request can not be processed. Either request parameters are not valid or cardholder is not found.
- application/json
- Schema
- Example (from schema)
Schema
- statusCode integer required
- message string required
- error string required
{
"statusCode": 0,
"message": "string",
"error": "string"
}
User is not allowed to list asset activities due to the reason specified in the message.
NoWalletAddressReceived User is required to log in with their wallet.
- application/json
- Schema
- Example (from schema)
Schema
- statusCode integer required
- message string required
- error string required
{
"statusCode": 0,
"message": "string",
"error": "string"
}