Skip to content
This repository was archived by the owner on Dec 2, 2024. It is now read-only.

API Call: getAllRewardEvents

Marco van Dijk edited this page May 6, 2022 · 2 revisions

https://nframe.nl/api/livepeer/getAllRewardEvents

  {
    method: "POST",
    body: JSON.stringify({ smartUpdate }),
    headers: {
      "Content-Type": "application/json"
    }
  }

If smartUpdate is set to True, returns { noop: true } if no new Events came in since the last Get. Requires the host making the request to be authenticated. In all other cases it returns something like:

  [
    {
      "address":"0x9d61ae5875e89036fbf6059f3116d01a22ace3c8",
      "amount":0.14503340879393786,
      "transactionHash":"0xc0e4a291435a4c3066f581bab6ecbba6717b6b9d706c1aebb2dc548e7a89e9ae",
      "blockNumber":6097448,
      "blockTime":1644917762
    },
    {
      "address":"0x104a7ca059a35fd4def5ecb16600b2caa1fe1361",
      "amount":0.040020524646439334,
      "transactionHash":"0xdf54230ab182c8ccca7e70d11a7043a8b424710618b7d91faa2611c44e388c67",
      "blockNumber":6097450,
      "blockTime":1644917762
    },
    {
      "address":"0x77543034d85ca10942685289e374a67e21a0f531",
      "amount":0.015622592483485714,
      "transactionHash":"0x77a41c5c985689038d24ce5642061e833126d82ba5e1cfd83f30e0e370668fb5",
      "blockNumber":6097453,
      "blockTime":1644917762
    },
    {
      "address":"0x9d5611bf0dadddb4441a709141d9229d7f6b3e47",
      "amount":110.45478213364794,
      "transactionHash":"0x9199e2158bee4d25012c964d975d002bea2447761d8fc69018280baa967e7728",
      "blockNumber":6097457,
      "blockTime":1644917762
    },
    {
      "address":"0xbe8770603daf200b1fa136ad354ba854928e602b",
      "amount":23.62191677508093,
      "transactionHash":"0xb23f2a94f337d41194a3919f69e961b13f2ec85bead6bb79ab19c8cb40dd3cc8",
      "blockNumber":6097460,
      "blockTime":1644917762
    },
    {
      "address":"0x597ad7f7a1c9f8d0121a9e949cca7530f2b25ef6",
      "amount":0.02035234225273501,
      "transactionHash":"0x0a369d89c7fdea4b71732da1e7988ea3b9cb67a7a1c1301fd7a2dfe9d60eabff",
      "blockNumber":6097465,
      "blockTime":1644917762
    },
    {
      "address":"0x3b28a7d785356dc67c7970666747e042305bfb79",
      "amount":33.9924430164434,
      "transactionHash":"0x7409abe50affe481523d131c9a31b9497347340a49a40b94d5be6ce52764a97b",
      "blockNumber":6097468,
      "blockTime":1644917762
    },
    {
      "address":"0xbdcbe92befbf36d63ec547bba5842997d77dc841",
      "amount":130.95899091244664,
      "transactionHash":"0x62afbdecb72b2ec1721bcbe189fb1ba0424678b2af3c0b844df3da5bdfc14597",
      "blockNumber":6097470,
      "blockTime":1644917762
    },
    {
      "address":"0x3e2b450c0c499d8301146367680e067cd009db93",
      "amount":52.65419515933819,
      "transactionHash":"0x31a09e85e0e700ebd59858b0f1645a882a0031610f3813c98712bab18dbcc2a8",
      "blockNumber":6097472,
      "blockTime":1644917762
    },
    {
      "address":"0xe3a5793d7c1d2a04a903fa1695b3e3555d6084ca",
      "amount":108.80716122090443,
      "transactionHash":"0x4ee30e944f8980551f2cebfc9e2a49cb1ba9ba99fd5549bc8a9edc49c1e1fe94",
      "blockNumber":6097473,
      "blockTime":1644917762
    },
    {
      "address":"0x10742714f33f3d804e3fa489618b5c3ca12a6df7",
      "amount":0.07574667397937618,
      "transactionHash":"0xc3248e5c4af1633aa1af87bf675ff07a697257080ccd812a1bfb6b8b9d1367b4",
      "blockNumber":6097473,
      "blockTime":1644917762
    },
    {
      "address":"0x6c06d3246fbb77c4ad75480e03d2a0a8eaf68121",
      "amount":0.14502492747337137,
      "transactionHash":"0x99527ab95a830e3890ce347fd39d0d5e91fd559c14324fca2b9af86ca6d8a6b2",
      "blockNumber":6097476,
      "blockTime":1644917762
    },
    {
      "address":"0x3bbe84023c11c4874f493d70b370d26390e3c580",
      "amount":47.60698673417809,
      "transactionHash":"0x2a04d1439dfd6e9dd12a98801af055c4b7134ce6ce22de0fbac78c6c0bb52ee7",
      "blockNumber":6097477,
      "blockTime":1644917762
    },
    {
      "address":"0x5d11abd838073df76e32c495f97fd3239eabb9fb",
      "amount":0.04276847250998406,
      "transactionHash":"0x35651d02c138222d6dddc54bebec1d8f55dcf5bfa3e862ab1d201c3647dd834f",
      "blockNumber":6097478,
      "blockTime":1644917762
    },
    {
      "address":"0x21d1130dc36958db75fbb0e5a9e3e5f5680238ff",
      "amount":144.2738019342545,
      "transactionHash":"0x6bcc34303a50e0406a21e1f290c5a446a14469c94ad4d17d1730fdd90c3ae248",
      "blockNumber":6097479,
      "blockTime":1644917829
    },
    {
      "address":"0xbac7744ada4ab1957cbaafef698b3c068beb4fe0",
      "amount":0.5420666413664617,
      "transactionHash":"0x965bd678c2de24f5e884efbca1d49fce324d17b0e3bd24871ae36978678fcbb9",
      "blockNumber":6097493,
      "blockTime":1644917829
    },
    {
      "address":"0x525419ff5707190389bfb5c87c375d710f5fcb0e",
      "amount":475.4255244557031,
      "transactionHash":"0x54ac9eb2b870a4bf5c021c04c739491428bb0f8be32c74fe5164a72323b5db4b",
      "blockNumber":6097494,
      "blockTime":1644917829
    },
    {
      "address":"0x2e3a21ae7cdeb48f57fcad1ce16b258d5502ac05",
      "amount":35.88488007444567,
      "transactionHash":"0x6c6f18c648ec1403c7b8cff7213561045b4d8072a5982829cdef1b7e574e64a9",
      "blockNumber":6097495,
      "blockTime":1644917829
    },
    {
      "address":"0x41239fb65360981316fcb4a8548320d305f9496d",
      "amount":0.0347366619335123,
      "transactionHash":"0x4fe5b118df9e492254908a266b4ce55f256321a27b9308e0cb8668c3b9a5ce6e",
      "blockNumber":6097496,
      "blockTime":1644917829
    },
    {
      "address":"0x10b21af759129f32c6064adfb85d3ea2a8c0209c",
      "amount":68.19842024078947,
      "transactionHash":"0xf030ddbb0a844025e656c26632be02695920a7c3762bcc2e87c96e0c1e546cdb",
      "blockNumber":6097498,
      "blockTime":1644917829
    },
    {
      "address":"0xdac817294c0c87ca4fa1895ef4b972eade99f2fd",
      "amount":175.62394607034315,
      "transactionHash":"0x3a8b246a9c2a0a23cdfaba362b4bd107c759b83cefa18e7ffc7b7c60b1d37538",
      "blockNumber":6097500,
      "blockTime":1644917829
    },
    {
      "address":"0x11b04d9a305abe978aeaddc67d9d09aaa4996090",
      "amount":46.12296766805545,
      "transactionHash":"0xe97faeddaa4419bb0029c7877129fa0ffc3ad8111e4a7c97e4bdf59784e61fc2",
      "blockNumber":6097501,
      "blockTime":1644917829
    },
    {
      "address":"0xd18a02647d99dc9f79afbe0f58f8353178e6141f",
      "amount":108.07410372170105,
      "transactionHash":"0x2458967b997ac8340f3a926b57ce1e87421f9e97ebb08577c71669d8b6fe4aad",
      "blockNumber":6097504,
      "blockTime":1644917829
    },
    {
      "address":"0x4f4758f7167b18e1f5b3c1a7575e3eb584894dbc",
      "amount":280.37299612476596,
      "transactionHash":"0x6195692f4fda0f820c0a164199c2287b4b4450910b77a8d9736a7c95416fd2e6",
      "blockNumber":6097505,
      "blockTime":1644917829
    },
    {
      "address":"0xd84781e1a9b74d71ea76cda8bb9f30893bfd00d1",
      "amount":216.04464203796465,
      "transactionHash":"0x3b6c2429a7b06eb2e06a3b628aa9e181073a13c7a14a65a97ae249020fa399e5",
      "blockNumber":6097508,
      "blockTime":1644917829
    },
    {
      "address":"0x08f10d03a0cf7a9eaddc7eacd4cf135a07a0feff",
      "amount":0.015848761031925607,
      "transactionHash":"0x6a1b3c0169cc5b573ca6c9482bafa456e909d3d2ce5f97521ebd32d23791b984",
      "blockNumber":6097510,
      "blockTime":1644917829
    },
    {
      "address":"0x980998e39d29dc5a92e7403fc9cd47e68b63ad5f",
      "amount":17.618583638498038,
      "transactionHash":"0x3976384f53f369363dd12280342afc9db36c0fa6a50a2d17abf18e19914157a3",
      "blockNumber":6097559,
      "blockTime":1644917870
    },
    {
      "address":"0x4a43b1d7e6227c8b0512e413f406555647ff7bdb",
      "amount":5.6678573286819995,
      "transactionHash":"0xfc94328fcbe5c8c52b959c2b1d30c5c5eb8f81b85af88b59e1061d14a56b894d",
      "blockNumber":6099037,
      "blockTime":1644919783
    },
    {
      "address":"0x847791cbf03be716a7fe9dc8c9affe17bd49ae5e",
      "amount":0.02707802946196637,
      "transactionHash":"0xf6a59cc8e47d9f95b70113bc59d7379102df8732b9162507525bd7aba876924a",
      "blockNumber":6100272,
      "blockTime":1644921719
    },
    {
      "address":"0xa20416801ac2eacf2372e825b4a90ef52490c2bb",
      "amount":120.03585009403983,
      "transactionHash":"0xa68f4719f863f63dcc1e19594b5fbc7d28d14d683426f655c11a57f0cd235812",
      "blockNumber":6103679,
      "blockTime":1644927077
    },
    {
      "address":"0x432e26fc08f236c78fd237882018a95b4c0a3d2a",
      "amount":0.03299233700366961,
      "transactionHash":"0x44e8d4eea3ea1885a48ecf86c9267966457f1a0257387d4f6c178a3686785127",
      "blockNumber":6109207,
      "blockTime":1644933977
    },
    {
      "address":"0x10e0a91e652b05e9c7449ff457cf2e96c3037fb7",
      "amount":2.9890350548610796,
      "transactionHash":"0x3d880eafb7695dd77a774fdd97687b42c453cfe747ba533829dc99b74e91b07a",
      "blockNumber":6113866,
      "blockTime":1644938015
    },
    {
      "address":"0x6cb1ce2516fb7d211038420a8cf9a843c7bd3b08",
      "amount":0.07789810229641067,
      "transactionHash":"0x5995c938da795357aa4055121f02021cb2834974ba49ed482e64464f21147f35",
      "blockNumber":6118992,
      "blockTime":1644943286
    },
    {
      "address":"0x942f0c28fb85ea0b50bfb76a3ecfa99861fa9b4b",
      "amount":375.10248546418853,
      "transactionHash":"0x1c3a07985f8cc40771721d5dedcabd8547d59ee0a25480e7944618ceb62f6861",
      "blockNumber":6122703,
      "blockTime":1644947138
    },
    {
      "address":"0xe9e284277648fcdb09b8efc1832c73c09b5ecf59",
      "amount":59.84923016739887,
      "transactionHash":"0x3a8760a37ace04b71a5c6c756ee973601f17b755c7fe20155a501e909ae3a211",
      "blockNumber":6122991,
      "blockTime":1644947466
    },
    {
      "address":"0x1d5919ebdc911ea2f3b9f6cdc6f8df8010b36541",
      "amount":0.06977582430056296,
      "transactionHash":"0xa6faf8cd48e84c54849ed477efb73b9e7dc50f11f7838d847b485225ba45410f",
      "blockNumber":6123380,
      "blockTime":1644947921
    },
    {
      "address":"0x1a196b031ea1a74a53ecbe6148772648e02f9d51",
      "amount":0.01104267937757785,
      "transactionHash":"0x70b9c6f347c21e5688607fdff6c4b8cd4fb309b3548d2e79daac7acb04416fbf",
      "blockNumber":6137937,
      "blockTime":1644966693
    },
    {
      "address":"0xb5164d6b780786338c52f4787abba0e4a371af4d",
      "amount":18.29960823602597,
      "transactionHash":"0x860ea8b5c86cefcda1bc46feb326cd2dae08dcacdf04c28f4474713b99ca2f31",
      "blockNumber":6151917,
      "blockTime":1644983561
    }
  ]

Clone this wiki locally