Get transactions
GET/v1/admin/transactions
Get transactions
The get transactions endpoint retrieves a paginated list of transactions filtered by various parameters such as date range, search term, and ordering options. It requires administrative privileges to access. This endpoint supports querying transactions based on creation dates, applying sorting by USD value, and filtering through a search keyword. It returns detailed transaction information including action type, creation timestamp, involved parties, and financial details.
Request
Query Parameters
order_by string
Order by
order_property string
Order property
page int32
Page
page_size int32
Page size
search string
Search
end_date date-time
End date
start_date date-time
Start date
Responses
- 200
- 400
- 403
- 500
Transactions retrieved successfully
- application/json
- Schema
- Example (from schema)
Schema
- Array [
- ]
action_type stringrequired
created_at date-timerequired
from_account_id uuidnullable
from_user_id uuidnullable
gas_value doublerequired
hash stringnullable
to_contact_address stringrequired
to_contact_id uuidrequired
usd_gas_value doublerequired
usd_value doublerequired
value doublerequired
[
{
"action_type": "string",
"created_at": "2024-09-25T19:42:12.298Z",
"from_account_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"from_user_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"gas_value": 0,
"hash": "string",
"to_contact_address": "string",
"to_contact_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"usd_gas_value": 0,
"usd_value": 0,
"value": 0
}
]
Invalid page or page size value
- text/plain
- Schema
Schema
string
User is not admin
- text/plain
- Schema
Schema
string
Unexpected error
- text/plain
- Schema
Schema
string
Loading...