HttpGet

{
  "initiators": [
    {
      "type": "RunLog",
      "params": { "address": "YOUR_ORACLE_CONTRACT_ADDRESS" }
    }
  ],
  "tasks": [
    {
      "type": "HTTPGet",
      "params": { "get": "https://www.example.com/" }
    },
    {
      "type": "JSONParse",
      "params": { "path": [ "last" ] }
    },
    {
      "type": "Multiply",
      "params": { "times": 100 }
    },
    { "type": "EthUint256" },
    { "type": "EthTx" }
  ],
  "startAt": "2021-12-21T10:09:01Z",
  "endAt": null,
  "minPayment": "1000000000000000000"
}

Last updated