Registration of job #21476 read at #5066652
E·61295ae733
Artifact retrieval for job #21476. An immutable observation by ✦peer-d2c3c6 at 25 Oct 16:52 UTC: chain data, retrieval provenance and exact source spans are retained without executing source.
{
"evidence": {
"artifact_bytes": 965,
"artifact_sha256": "14fb7fab532f96b180132004f02ca4be9bb75e38c8c63020b892019e86db1f0f",
"cid_verified": false,
"files": [
{
"bytes": 965,
"name": "script.js",
"sha256": "14fb7fab532f96b180132004f02ca4be9bb75e38c8c63020b892019e86db1f0f",
"text": "const destination = \"<#CONTRACT_ADDRESS#>\";\nhttpGET(\n \"https://api.binance.com/api/v3/ticker/price?symbol=AAVEBUSD\",\n {},\n (response, _certificate) => {\n const price = JSON.parse(response)[\"price\"] * 10 ** 18;\n const bytes = \"0x\" + price.toString(16).padStart(64, '0');\n const payload = \"0x\" + _STD_.chains.ethereum.abi.encode(bytes);\n _STD_.chains.ethereum.fulfill(\n \"https://ethereum.publicnode.com\",\n destination,\n payload,\n {\n methodSignature: \"fulfill(bytes)\",\n gasLimit: \"9000000\",\n maxFeePerGas: \"2550000000\",\n maxPriorityFeePerGas: \"2550000000\",\n },\n (opHash) => {\n console.log(\"Succeeded: \" + opHash)\n },\n (err) => {\n console.log(\"Failed: \" + err)\n },\n )\n },\n (err) => {\n console.log(\"Failed: \" + err)\n }\n);",
"truncated": false
}
],
"image_url": null,
"job": {
"job_id": "acurast:5Do7E1SBaxkaCYtWg4554KHRuFvUbS831Czdo7xPwn5JCT1n:21476",
"observed_block": "0x0fb94055b3f60a15b62f2039f67d6131d4ba067b92de47d5ff8d28ac9b5ee4ef",
"script_uri": "ipfs://QmVdH5K2NkJxoBgfG9QvJkoQ8yScnjHD3ErVhe6VAY9EDK"
},
"kind": "javascript"
},
"identity": {
"address": "5Do7E1SBaxkaCYtWg4554KHRuFvUbS831Czdo7xPwn5JCT1n",
"address_hex": "0x4c9334315af14686a80f4913f4acf7a7028d8d636ad9af64f0c78fb9fccee741",
"id": "acurast:5Do7E1SBaxkaCYtWg4554KHRuFvUbS831Czdo7xPwn5JCT1n:21476",
"origin_variant": "Acurast",
"sequence": "21476"
},
"outcome": "retrieved",
"registration_id": "r:o:61295ae733148bf052123ccba9b4d20d0cb4551e6276d7d1e213d8635ac277f9",
"retrieval": {
"cid_verified": false,
"downloaded_bytes": 965,
"downloaded_sha256": "14fb7fab532f96b180132004f02ca4be9bb75e38c8c63020b892019e86db1f0f",
"failures": [],
"gateway_index": 0,
"inspection_error": null,
"retrieved_at_ms": 1792947148666,
"state": "retrieved",
"trust": "trusted gateway; UnixFS root not independently verified"
},
"type": "artifact"
}Configured RPC responses are not independently storage-proof verified. Reported outcomes retain their reported semantics. Only successfully covered history ranges support absence claims.
Registration of job #21476 read at #5066652
E·61295ae733
965 bytes · SHA-256 14fb7fab532f96b180132004f02ca4be9bb75e38c8c63020b892019e86db1f0f
const destination = "<#CONTRACT_ADDRESS#>";
httpGET(
"https://api.binance.com/api/v3/ticker/price?symbol=AAVEBUSD",
{},
(response, _certificate) => {
const price = JSON.parse(response)["price"] * 10 ** 18;
const bytes = "0x" + price.toString(16).padStart(64, '0');
const payload = "0x" + _STD_.chains.ethereum.abi.encode(bytes);
_STD_.chains.ethereum.fulfill(
"https://ethereum.publicnode.com",
destination,
payload,
{
methodSignature: "fulfill(bytes)",
gasLimit: "9000000",
maxFeePerGas: "2550000000",
maxPriorityFeePerGas: "2550000000",
},
(opHash) => {
console.log("Succeeded: " + opHash)
},
(err) => {
console.log("Failed: " + err)
},
)
},
(err) => {
console.log("Failed: " + err)
}
);
The artifact script and block came from its linked finalized registration observation. Historical execution is a separate observation.
Available on peer-8a2dd0.
Last successful database sync: 25 Oct 19:37 UTC.
A sync timestamp does not confirm remote copies of this object.