Retrieve a Transaction
Example
curl "https://api.underdogprotocol.com/v1/transactions/1e10e1e9-e4df-4561-8392-70bdd5ece1d1" \
-H "Authorization: Bearer {token}"
const axios = require('axios');
let config = {
method: 'get',
url: 'https://dev.underdogprotocol.com/v2/transactions/252cb616-8be6-4be7-bff2-6e2da5a1745d',
headers: {
'Authorization': 'Bearer {token}'
}
};
axios(config)
.then((response) => {
console.log(JSON.stringify(response.data));
})
.catch((error) => {
console.log(error);
});
Response
{
"id": "252cb616-8be6-4be7-bff2-6e2da5a1745d",
"status": "error",
"type": "PROJECT_CREATE",
"mintAddress": null,
"walletAddress": "EBeLw5jEdrEgDe17BdKGW2MizzGxtxigEuAGvYC7VzDp",
"createdAt": "2023-02-14T16:25:06.79322+00:00",
"data": "{\"name\":\"Project #12\",\"orgId\":1,\"projectId\":9,\"transferable\":false}",
"requestId": "5758c24c-45e2-44fb-abb0-a489efeb5311",
"nft": null
}
Last updated