This API requires API Signature
Using this API, you can get the list of transactions issued by your app. Transactions are returned in the descending order of timestamp
(i.e., most recent transactions are listed first). Pagination is supported, and additional pages can be retrieved using the pagination token provided in the response.
Response
The response has the list of transactions issued by the app.
{
"status": "SUCCESS",
"transactions": [
{
"transactionId": "4ef635a3-4ae0-41d8-9c7e-50dce1ec2ce1",
"transactionChainscanUrl": "https://amoy.polygonscan.com/tx/0x7c42c21321386bd87e933e4590cee8afa3f29d08c64da7202cef6fc0cf723fa1",
"transactionStatus": "COMPLETED",
"timestampUsec": "1712945945051000",
"transactionCost": "32467200001623360"
},
{
"transactionId": "eb7ffcaf-07a6-4998-b4cc-fe8e59ad95c4",
"transactionChainscanUrl": "https://amoy.polygonscan.com/tx/0x728d033fcd337be8bd4dddba0a89c04af0ede6d179bea952bed3c131582d4d3f",
"transactionStatus": "COMPLETED",
"timestampUsec": "1712945927676000",
"transactionCost": "63190200003159510"
},
{
"transactionId": "3c6c8878-6387-4c03-a2d0-696a522b22f2",
"transactionChainscanUrl": "https://amoy.polygonscan.com/tx/0xb263053e9aebbad156b36016f651b8522196dac99b2929b166c0d231d5d956fa",
"transactionStatus": "COMPLETED",
"timestampUsec": "1712945277584000",
"transactionCost": "133453501334535"
},
{
"transactionId": "e8a1ab8a-6767-45e0-a961-7b34c438de04",
"transactionChainscanUrl": "https://amoy.polygonscan.com/tx/0x482c233e7adfa65c17ba2fd0734a0fc81c77bec7493826a7d1d5c7c81a2a5a76",
"transactionStatus": "COMPLETED",
"timestampUsec": "1712944750311000",
"transactionCost": "9775020000000000"
}
],
"paginationToken": "next_page_token"
}
Here's the description of the fields in the response:
-
status
: The status of the response. -
transactions
: An array of objects, each representing a transaction issued by the app.transactionId
: The unique identifier of the transaction.transactionChainscanUrl
: The URL to view the transaction on the blockchain explorer.transactionStatus
: The transaction status as explained in the Get Status of Transaction API.timestampUsec
: The timestamp inmicroseconds
when the transaction was issued.transactionCost
: The cost of the transaction in thenative currency
of the blockchain. For EVM chains, this is inWei
. For Solana, this is inlamports
.
-
paginationToken
: The token to be used for pagination to fetch the next page of transactions. If there are no more pages, this field will be empty.
Response pagination
The response will return a page of transactions at a time. The developer must make multiple requests to get all the transactions. The response will have a paginationToken
which can be used to get the next page of transactions.
Api Error Status
You can find error status returned by the api here.
Ā© Copyright 2024, Passbird Research Inc.