GET
/
v1
/
activity
/
featured
curl --request GET \
  --url https://api.endaoment.org/v1/activity/featured \
  --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

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Response

200 - application/json
List of featured activities successfully retrieved
transactor
string | null
required

Address or label of the initiator of this activity

Example:

"0x1234567890abcdef1234567890abcdef12345678"

occurredAtUtc
string
required

Timestamp of when the activity occurred on-chain (or database timestamp if not available)

Example:

"2023-01-01T12:00:00Z"

transactorUrl
string | null
required

Link for the transactor address or identity

Example:

"https://etherscan.io/address/0x1234567890abcdef1234567890abcdef12345678"

transactionHash
string | null
required

Transaction hash for the activity

Example:

"0xabcdef1234567890abcdef1234567890abcdef1234567890abcdef1234567890"

type
enum<string>
required

Type of the activity

Available options:
donation
Example:

"donation"

automated
boolean
required

Flag indicating if this activity is driven by an automated process

Example:

false

chainId
number | null
required

Chain ID of the activity (null for off-chain activities)

Example:

1

amount
string
required

Amount transferred in the smallest currency unit of the asset

Example:

"1000000000000000000"

usdcAmount
string
required

USDC equivalent amount of the transaction

Example:

"1000000000"

token
object
required

Token of this donation (null if it was a stock donation)

stock
object
required

Stock of this donation (null if it was a crypto donation)

to
object
required

Destination entity of the donation