List all Transactions
Example
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
}
Last updated