Giveth / feathers-giveth

Featherjs server for caching giveth data.
MIT License
87 stars 99 forks source link

Implement endpoint for getting totalUsdValue of donations to campaign #625

Closed mohammadranjbarz closed 2 years ago

mohammadranjbarz commented 2 years ago

@mateodaza @RamRamez

With below query you can get traceable project's donations

query {
  donationsByProjectId(projectId:112, take:10, skip:0, traceable:true){
    totalCount
    totalUsdBalance
    donations {
        createdAt
        transactionId
        amount
        valueUsd
        currency
        transactionNetworkId
        fromWalletAddress

   }
  }
}