Skip to content

Instantly share code, notes, and snippets.

@vnavascues
Created October 25, 2021 19:11
Show Gist options
  • Save vnavascues/2faa314cf984865f90223280110a6c70 to your computer and use it in GitHub Desktop.
Save vnavascues/2faa314cf984865f90223280110a6c70 to your computer and use it in GitHub Desktop.
A JSON jobspec for the AccuWeather EA
{
"name": "AW AccuWeather Get Current Conditions by Location Coordinates",
"initiators": [
{
"type": "runlog",
"params": {
"address": "0x0000000000000000000000000000000000000000"
}
}
],
"tasks": [
{
"type": "accuweather",
"params": {
"endpoint": "location-current-conditions"
}
},
{
"type": "copy",
"params": {
"copypath": "result"
}
},
{
"type": "resultcollect"
},
{
"type": "ethtx",
"params": {
"abiEncoding": ["bytes32", "bytes"]
}
}
],
"minPayment": "100000000000000000"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment