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

API Call: getAllWithdrawStakeEvents

Marco van Dijk edited this page May 6, 2022 · 1 revision

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

  {
    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":"0x44c98af5da6a31c422ee5eed18d53986dd9bc01e",
      "round":2481,
      "amount":28.7,
      "transactionHash":"0xb2fa46b865168bec615be3093c5bfe66ecc95aa3ef7ca1cc3228326da20067a4",
      "blockNumber":7195435,
      "blockTime":1646164748
    },
    {
      "address":"0x716758584efea6905f084b19651731660a51514e",
      "round":2484,
      "amount":282.50802693415864,
      "transactionHash":"0xd0e088e7e6e9e7e1d429256043cab29965cf5897babd5a7dbecaba0427c4becf",
      "blockNumber":7259413,
      "blockTime":1646236449
    },
    {
      "address":"0xbe8770603daf200b1fa136ad354ba854928e602b",
      "round":2482,
      "amount":2,
      "transactionHash":"0xc16ecce1c2b31a5b7f827e3273fa1b5b3fb1c76c3dec33de0d2aa3fe828c1405",
      "blockNumber":7291063,
      "blockTime":1646250234
    },
    {
      "address":"0xf289b6902abaf9ecfb856d431085d82e268d6928",
      "round":2484,
      "amount":256.5,
      "transactionHash":"0x14fe1739b15f5c819e5e37ba5c506bc760bf3014a1c5b2b8f658da413fa0121c",
      "blockNumber":7310400,
      "blockTime":1646261504
    },
    {
      "address":"0x63d48520e5e42daa2b6869aa1e5fa9e8d00d1424",
      "round":2485,
      "amount":39.25887411144191,
      "transactionHash":"0x9ae51f9d47dbd70e90243013cfda5529b064a024b8ac3dc217a6f4276ec50467",
      "blockNumber":7355892,
      "blockTime":1646310321
    },
    {
      "address":"0x4f4758f7167b18e1f5b3c1a7575e3eb584894dbc",
      "round":2483,
      "amount":2000,
      "transactionHash":"0xca99c5326b3fa8549786c1906e8c5e0d06659e50a6e6dd7ecf36825696f902d8",
      "blockNumber":7387652,
      "blockTime":1646367163
    },
    {
      "address":"0x046020bf59d0896371c0388baca5549e566b2f73",
      "round":2485,
      "amount":0.1,
      "transactionHash":"0x1014b4c394c29fdcc4f6ca8c2b5e5d080e1e3c071f9b0552a018ec983b28ebee",
      "blockNumber":7393053,
      "blockTime":1646380339
    },
    {
      "address":"0xb5164d6b780786338c52f4787abba0e4a371af4d",
      "round":2486,
      "amount":14,
      "transactionHash":"0xcbe26cdef68fd64c8a6972bdf37469d0bfbdf930bd7ab26bb6cd2759c779851e",
      "blockNumber":7395108,
      "blockTime":1646383985
    },
    {
      "address":"0x685b3cf5b8fedfddc73f3486983f9432960488ba",
      "round":2483,
      "amount":30.13244,
      "transactionHash":"0xc7e3a2a63cd3539629d40039c8f94d2883c927fc4095673f1e5bb060b8719875",
      "blockNumber":7397158,
      "blockTime":1646388439
    },
    {
      "address":"0xffc8d20c15c8940762ceff0052218884b15a18be",
      "round":2486,
      "amount":14.679644602194825,
      "transactionHash":"0xac3e0969b4c86f19b02e6b0bca811a961f54d4ff0e4d6122a6c2b9211c279392",
      "blockNumber":7401424,
      "blockTime":1646398358
    },
    {
      "address":"0x8d23dd8bee28e2eccb46ae973f3074b29056a658",
      "round":2486,
      "amount":6.198623003937193,
      "transactionHash":"0xb9411d5bde8dc66fd81a0fe54c9a92558a78c3b2280fef087a37aaed2ea3c182",
      "blockNumber":7403882,
      "blockTime":1646403352
    },
    {
      "address":"0x192c9e4d32e35dfc9017347ac14a0a3848116d2e",
      "round":2487,
      "amount":10.60587117766239,
      "transactionHash":"0x1d127f2e27d3c5d8ce95d6fed6973cad42bb32630bb9b9a6fc47911a035a0533",
      "blockNumber":7435343,
      "blockTime":1646481544
    },
    {
      "address":"0x1ae1220658bf9cd4d02cfd17409c09fb9e8fd9f5",
      "round":2488,
      "amount":1,
      "transactionHash":"0x9e6dd3bc1d7117a2d8268e9ef5523415b84611a265f7df15962c637b00e0747a",
      "blockNumber":7456055,
      "blockTime":1646544707
    },
    {
      "address":"0xd2cd3cffc11af0f507df94e0e2b619529c6e2e59",
      "round":2487,
      "amount":74.53867279593237,
      "transactionHash":"0x2acbcdc97501f6577ee433bb00bd1df473915c82feb9d080b0bb26261ca80722",
      "blockNumber":7458059,
      "blockTime":1646551629
    },
    {
      "address":"0x2fe19cd2ea5f1efc262d7690540da4f807758a49",
      "round":2487,
      "amount":173.23526372019262,
      "transactionHash":"0xeccd5d532b2476c6dbadb6823c3cb14e2c7d986c811da624c9453195220740b0",
      "blockNumber":7461781,
      "blockTime":1646561048
    },
    {
      "address":"0x792080ecfbe8cfdde8f67ea3ebe54d6fb0b2d5d6",
      "round":2488,
      "amount":167.83857934071716,
      "transactionHash":"0xf4418fefabc2cb50fe7477a50c6f437d406c4547af026b7424b210d487fc63f6",
      "blockNumber":7470182,
      "blockTime":1646583551
    }
  ]

Clone this wiki locally