List all Transactions

get
https://api.underdogprotocol.com
/v2/transactions
List all Transactions

This endpoint allows you to retrieve a paginated list of all your Transactions. By default, a maximum of ten Trnasactions are shown per page.

Parameters
No parameters
Responses
200: OK
Returns a paginated list of Transactions
401: Unauthorized
Unauthorized

Example

cURL
JavaScript
curl --location --request GET 'https://dev.underdogprotocol.com/v2/transactions' \
--header 'Authorization: Bearer {token}'
const axios = require('axios');
let config = {
method: 'get',
url: 'https://dev.underdogprotocol.com/v2/transactions',
headers: {
'Authorization': 'Bearer {token}'
}
};
axios(config)
.then((response) => {
console.log(JSON.stringify(response.data));
})
.catch((error) => {
console.log(error);
});
Response
{
"results": [
{
"id": "FrvZAJ1qZ2vhV17nFdEmw66N3FW5QiHFt6HdqsEh8QNq",
...
},
{
"id": "7eYfyPfnGzxp8A9TrQJEpKwVCC8nP9viHRRGJ89WzFJB",
...
},
{
"id": "61YbMJWQbboN3PUQen9MrxF53eMkGcnhEVrkX24TcTqK",
...
}
],
"limit": 3,
"page": 1,
"totalPages": 3,
"totalResults": 8
}