cURL
curl --request GET \
--url http://localhost:4100/v1/activity/{eventId} \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('http://localhost:4100/v1/activity/{eventId}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"id": "<string>",
"timestamp": "2023-11-07T05:31:56Z",
"actor": {
"name": "<string>",
"kind": "<string>",
"address": "<string>"
},
"action": "<string>",
"chain": "<string>",
"chainId": 8453,
"status": "executed",
"provenance": "onchain_reconciled",
"hash": "<string>",
"dateLabel": "<string>",
"timeLabel": "<string>",
"amount": 123,
"token": {},
"declineReason": "<string>",
"txHash": "<string>",
"auditNonce": 123,
"prevHash": "<string>",
"delegationId": "<string>"
}{
"error": {
"code": "invalid_request",
"message": "<string>",
"correlationId": "<string>"
}
}{
"error": {
"code": "invalid_request",
"message": "<string>",
"correlationId": "<string>"
}
}{
"error": {
"code": "invalid_request",
"message": "<string>",
"correlationId": "<string>"
}
}{
"error": {
"code": "invalid_request",
"message": "<string>",
"correlationId": "<string>"
}
}{
"error": {
"code": "invalid_request",
"message": "<string>",
"correlationId": "<string>"
}
}{
"error": {
"code": "invalid_request",
"message": "<string>",
"correlationId": "<string>"
}
}Activity
Get v1activity 1
cURL
curl --request GET \
--url http://localhost:4100/v1/activity/{eventId} \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('http://localhost:4100/v1/activity/{eventId}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"id": "<string>",
"timestamp": "2023-11-07T05:31:56Z",
"actor": {
"name": "<string>",
"kind": "<string>",
"address": "<string>"
},
"action": "<string>",
"chain": "<string>",
"chainId": 8453,
"status": "executed",
"provenance": "onchain_reconciled",
"hash": "<string>",
"dateLabel": "<string>",
"timeLabel": "<string>",
"amount": 123,
"token": {},
"declineReason": "<string>",
"txHash": "<string>",
"auditNonce": 123,
"prevHash": "<string>",
"delegationId": "<string>"
}{
"error": {
"code": "invalid_request",
"message": "<string>",
"correlationId": "<string>"
}
}{
"error": {
"code": "invalid_request",
"message": "<string>",
"correlationId": "<string>"
}
}{
"error": {
"code": "invalid_request",
"message": "<string>",
"correlationId": "<string>"
}
}{
"error": {
"code": "invalid_request",
"message": "<string>",
"correlationId": "<string>"
}
}{
"error": {
"code": "invalid_request",
"message": "<string>",
"correlationId": "<string>"
}
}{
"error": {
"code": "invalid_request",
"message": "<string>",
"correlationId": "<string>"
}
}Authorizations
Response
Success.