Activity
Get current user's activities
Quickstart
Endpoints
- Organizations
- Transfers
- Recommendations
- Activity
- Funds
- Donation Pledges
Transactions
Subgraph Documentation
Activity
Get current user's activities
Returns a list of activities associated with the authenticated user
GET
/
v1
/
activity
/
mine
curl --request GET \
--url https://api.endaoment.org/v1/activity/mine \
--header 'Authorization: Bearer <token>'
[
{
"transactor": "0x1234567890abcdef1234567890abcdef12345678",
"occurredAtUtc": "2023-01-01T12:00:00Z",
"transactorUrl": "https://etherscan.io/address/0x1234567890abcdef1234567890abcdef12345678",
"transactionHash": "0xabcdef1234567890abcdef1234567890abcdef1234567890abcdef1234567890",
"type": "donation",
"automated": false,
"chainId": 1,
"amount": "1000000000000000000",
"usdcAmount": "1000000000",
"token": {
"id": 1,
"symbol": "ETH",
"name": "Ethereum",
"decimals": 18,
"logoUrl": "https://example.com/ethereum-logo.png",
"type": "Token",
"featured": true,
"popularity": 10,
"chainId": 1,
"contractAddress": "0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2",
"otcAddress": "bc1qxy2kgdygjrsqtzq2n0yrf2493p83kkfjhx0wlh",
"memo": "MEMO123456"
},
"stock": {
"name": "Apple Inc.",
"ticker": "AAPL",
"id": "123e4567-e89b-12d3-a456-426614174000"
},
"to": {
"name": "Endaoment Fund",
"id": "123e4567-e89b-12d3-a456-426614174000",
"type": "fund"
}
}
]
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Response
200 - application/json
List of user activities successfully retrieved
Was this page helpful?
curl --request GET \
--url https://api.endaoment.org/v1/activity/mine \
--header 'Authorization: Bearer <token>'
[
{
"transactor": "0x1234567890abcdef1234567890abcdef12345678",
"occurredAtUtc": "2023-01-01T12:00:00Z",
"transactorUrl": "https://etherscan.io/address/0x1234567890abcdef1234567890abcdef12345678",
"transactionHash": "0xabcdef1234567890abcdef1234567890abcdef1234567890abcdef1234567890",
"type": "donation",
"automated": false,
"chainId": 1,
"amount": "1000000000000000000",
"usdcAmount": "1000000000",
"token": {
"id": 1,
"symbol": "ETH",
"name": "Ethereum",
"decimals": 18,
"logoUrl": "https://example.com/ethereum-logo.png",
"type": "Token",
"featured": true,
"popularity": 10,
"chainId": 1,
"contractAddress": "0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2",
"otcAddress": "bc1qxy2kgdygjrsqtzq2n0yrf2493p83kkfjhx0wlh",
"memo": "MEMO123456"
},
"stock": {
"name": "Apple Inc.",
"ticker": "AAPL",
"id": "123e4567-e89b-12d3-a456-426614174000"
},
"to": {
"name": "Endaoment Fund",
"id": "123e4567-e89b-12d3-a456-426614174000",
"type": "fund"
}
}
]