{"_id":"@acelon/acelon-sdk","_rev":"12-8db7d1e51b9823403d449e6680723308","name":"@acelon/acelon-sdk","dist-tags":{"latest":"1.4.4"},"versions":{"1.1.4":{"name":"@acelon/acelon-sdk","version":"1.1.4","keywords":["acurast","oracle","sdk"],"author":{"name":"Lorenzo Spoleti","email":"l.spoleti@papers.ch"},"license":"MIT","_id":"@acelon/acelon-sdk@1.1.4","maintainers":[{"name":"acelon-root","email":"hi@acelon.io"}],"dist":{"shasum":"afb790e84e3bb5e3e89022553a298510bed843fc","tarball":"https://registry.npmjs.org/@acelon/acelon-sdk/-/acelon-sdk-1.1.4.tgz","fileCount":8,"integrity":"sha512-gBwlLE/ojhnbv9Xybb0Y/wiEJAidU0DvWP0ivkQK+pc71mNz7S1IBJe9Wmf5VtWxyLakk9mMOCf2mZQa8OYiyg==","signatures":[{"sig":"MEUCID2nBbwFMjRaPEm/0kerShOEhw8ljASW2KAsnvb2aYBJAiEAjshU1SIQiLDzdCfYU+F2464dBQ0JUefu0n+INSLMuWY=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":49609},"main":"dist/index.js","types":"dist/index.d.ts","gitHead":"112fd9083a2dc791544393fd256e3eb4225ba49a","scripts":{"test":"yarn run ts-node ./test/test.ts","build":"tsc","monitor":"yarn run ts-node ./test/monitoring.ts","prepublishOnly":"yarn build"},"_npmUser":{"name":"acelon-root","email":"hi@acelon.io"},"_npmVersion":"10.8.2","description":"The Acelon SDK is a TypeScript library that provides a simple interface to interact with the Acelon Service. It allows developers to fetch price data for various cryptocurrency pairs, with signatures from multiple oracles.","directories":{},"_nodeVersion":"20.17.0","dependencies":{"ws":"^8.18.0","uuid":"^10.0.0","buffer":"^6.0.3","elliptic":"^6.5.6","typescript":"^5.5.4","@types/node":"^22.2.0","@types/uuid":"^10.0.0","@acurast/dapp":"^1.0.1-beta.6"},"_hasShrinkwrap":false,"devDependencies":{"ts-node":"^10.9.2","@types/elliptic":"^6.4.18"},"_npmOperationalInternal":{"tmp":"tmp/acelon-sdk_1.1.4_1727163377326_0.7552934488324616","host":"s3://npm-registry-packages"}},"1.1.5":{"name":"@acelon/acelon-sdk","version":"1.1.5","keywords":["acurast","oracle","sdk"],"author":{"name":"Lorenzo Spoleti","email":"l.spoleti@papers.ch"},"license":"MIT","_id":"@acelon/acelon-sdk@1.1.5","maintainers":[{"name":"acelon-root","email":"hi@acelon.io"}],"dist":{"shasum":"d2c34bb527a72db538c3cf4138325ec69fab0ded","tarball":"https://registry.npmjs.org/@acelon/acelon-sdk/-/acelon-sdk-1.1.5.tgz","fileCount":8,"integrity":"sha512-UC4X16fct5LByw2xB5pjGGh9p/LP/Ve5sUYEuAo5YE02/hS4DWdwH3ipW8zDl8RW2qjwdq1mPAQ6NZw9toivnw==","signatures":[{"sig":"MEUCIDzJJt396k3cF+u18tFnCkumca3rUJA6gtiSQCQvPh1oAiEA9/CIueTo0EMWXkUjdqnMK06INf0JM6VcebZ1IJuUZKU=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":49553},"main":"dist/index.js","types":"dist/index.d.ts","gitHead":"ee2f6d849aef51a41b972b3473383c7756c6b477","scripts":{"test":"yarn run ts-node ./test/test.ts","build":"tsc","prepublishOnly":"yarn build"},"_npmUser":{"name":"acelon-root","email":"hi@acelon.io"},"_npmVersion":"10.8.2","description":"The Acelon SDK is a TypeScript library that provides a simple interface to interact with the Acelon Service. It allows developers to fetch price data for various cryptocurrency pairs, with signatures from multiple oracles.","directories":{},"_nodeVersion":"20.17.0","dependencies":{"ws":"^8.18.0","uuid":"^10.0.0","buffer":"^6.0.3","elliptic":"^6.5.6","typescript":"^5.5.4","@types/node":"^22.2.0","@types/uuid":"^10.0.0","@acurast/dapp":"^1.0.1-beta.6"},"_hasShrinkwrap":false,"devDependencies":{"ts-node":"^10.9.2","@types/elliptic":"^6.4.18"},"_npmOperationalInternal":{"tmp":"tmp/acelon-sdk_1.1.5_1727253568923_0.9488437244780248","host":"s3://npm-registry-packages"}},"1.1.7":{"name":"@acelon/acelon-sdk","version":"1.1.7","keywords":["acurast","oracle","sdk"],"author":{"name":"Lorenzo Spoleti","email":"l.spoleti@papers.ch"},"license":"MIT","_id":"@acelon/acelon-sdk@1.1.7","maintainers":[{"name":"acelon-root","email":"hi@acelon.io"}],"dist":{"shasum":"891b8cd459fa36f9cc2a8d1db6ee9b236785de66","tarball":"https://registry.npmjs.org/@acelon/acelon-sdk/-/acelon-sdk-1.1.7.tgz","fileCount":8,"integrity":"sha512-XsV4vFphsYz95POb7NpqqLVKa0FGazTPI9FgkUjposyX68s6VoYbQCVJANt4QaHftvccrdpHRGgIxSYR9IKniQ==","signatures":[{"sig":"MEUCIQCXnTy6ekdYxVEvenlI50yRNK7yANGdImWTr708F4YyygIgFd8p8UGRvOd6ogU5gDpQhmLliu2gfPe7IS6z6JPFfUc=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":49673},"main":"dist/index.js","types":"dist/index.d.ts","gitHead":"f5fe120099ec336467e74bb0650b87fe4c9acf6b","scripts":{"test":"yarn run ts-node ./test/test.ts","build":"tsc","prepublishOnly":"yarn build"},"_npmUser":{"name":"acelon-root","email":"hi@acelon.io"},"_npmVersion":"10.8.2","description":"The Acelon SDK is a TypeScript library that provides a simple interface to interact with the Acelon Service. It allows developers to fetch price data for various cryptocurrency pairs, with signatures from multiple oracles.","directories":{},"_nodeVersion":"20.18.0","dependencies":{"ws":"^8.18.0","uuid":"^10.0.0","buffer":"^6.0.3","elliptic":"^6.5.6","typescript":"^5.5.4","@types/node":"^22.2.0","@types/uuid":"^10.0.0","@acurast/dapp":"^1.0.1-beta.6"},"_hasShrinkwrap":false,"devDependencies":{"ts-node":"^10.9.2","@types/elliptic":"^6.4.18"},"_npmOperationalInternal":{"tmp":"tmp/acelon-sdk_1.1.7_1728285156872_0.7765040952299387","host":"s3://npm-registry-packages"}},"1.1.8":{"name":"@acelon/acelon-sdk","version":"1.1.8","keywords":["acurast","oracle","sdk"],"author":{"name":"Lorenzo Spoleti","email":"l.spoleti@papers.ch"},"license":"MIT","_id":"@acelon/acelon-sdk@1.1.8","maintainers":[{"name":"acelon-root","email":"hi@acelon.io"}],"dist":{"shasum":"a7fce1a490b872845436897d39618cbde706ee4d","tarball":"https://registry.npmjs.org/@acelon/acelon-sdk/-/acelon-sdk-1.1.8.tgz","fileCount":8,"integrity":"sha512-mDB9SJPyfdTZsXFHDpampG0qoqTyRqxfekAu27JDAPLifikiLgHCVhKl1gP7cjnUIazHg5EauoCK46E5yvbdrQ==","signatures":[{"sig":"MEQCIEM5TGqEPQcNJdxk5UWDpTdvHK6xVa+L3giIj7iFw5+aAiAn1tgSB6aveQjUA8gMUKMXOb75fFLcdfqohqTf6kxHoQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":50015},"main":"dist/index.js","types":"dist/index.d.ts","gitHead":"28bf2e60a0c307bd59f92246d33e5b1864eba6e8","scripts":{"test":"yarn run ts-node ./test/test.ts","build":"tsc","prepublishOnly":"yarn build"},"_npmUser":{"name":"acelon-root","email":"hi@acelon.io"},"_npmVersion":"10.8.2","description":"The Acelon SDK is a TypeScript library that provides a simple interface to interact with the Acelon Service. It allows developers to fetch price data for various cryptocurrency pairs, with signatures from multiple oracles.","directories":{},"_nodeVersion":"20.18.0","dependencies":{"ws":"^8.18.0","uuid":"^10.0.0","buffer":"^6.0.3","elliptic":"^6.5.6","typescript":"^5.5.4","@types/node":"^22.2.0","@types/uuid":"^10.0.0","@acurast/dapp":"^1.0.1-beta.6"},"_hasShrinkwrap":false,"devDependencies":{"ts-node":"^10.9.2","@types/elliptic":"^6.4.18"},"_npmOperationalInternal":{"tmp":"tmp/acelon-sdk_1.1.8_1728287284623_0.06944254638788339","host":"s3://npm-registry-packages"}},"1.1.9":{"name":"@acelon/acelon-sdk","version":"1.1.9","keywords":["acurast","oracle","sdk"],"author":{"name":"Lorenzo Spoleti","email":"l.spoleti@papers.ch"},"license":"MIT","_id":"@acelon/acelon-sdk@1.1.9","maintainers":[{"name":"acelon-root","email":"hi@acelon.io"}],"dist":{"shasum":"f3ec26b2ef21726a24c7ca1ee3dfad90cd50b1a7","tarball":"https://registry.npmjs.org/@acelon/acelon-sdk/-/acelon-sdk-1.1.9.tgz","fileCount":8,"integrity":"sha512-Tv/p4ftSTRd9c3fsXeAHL84NK9Oyoe+qKy+12sv2qMXXCmSdbURegtCuQWOXRVWNvUe4PP0B7OBZYRnBZKvpIQ==","signatures":[{"sig":"MEUCIQC2/9RYJaVw4lvnMYdHgURFyth8JQyoD+lb7fSFLwk/2QIgbHPetRuScZ+kz6PHdcKJygsv410A1M9jxraiFhGM0UI=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":50210},"main":"dist/index.js","types":"dist/index.d.ts","gitHead":"f63f3e42694e4fdf9414a36e80738215d81599ed","scripts":{"test":"yarn run ts-node ./test/test.ts","build":"tsc","prepublishOnly":"yarn build"},"_npmUser":{"name":"acelon-root","email":"hi@acelon.io"},"_npmVersion":"10.8.2","description":"The Acelon SDK is a TypeScript library that provides a simple interface to interact with the Acelon Service. It allows developers to fetch price data for various cryptocurrency pairs, with signatures from multiple oracles.","directories":{},"_nodeVersion":"20.18.0","dependencies":{"ws":"^8.18.0","uuid":"^10.0.0","buffer":"^6.0.3","elliptic":"^6.5.6","typescript":"^5.5.4","@types/node":"^22.2.0","@types/uuid":"^10.0.0","@acurast/dapp":"^1.0.1-beta.6"},"_hasShrinkwrap":false,"devDependencies":{"ts-node":"^10.9.2","@types/elliptic":"^6.4.18"},"_npmOperationalInternal":{"tmp":"tmp/acelon-sdk_1.1.9_1728291658326_0.4660039970894885","host":"s3://npm-registry-packages"}},"1.2.0":{"name":"@acelon/acelon-sdk","version":"1.2.0","keywords":["acurast","oracle","sdk"],"author":{"name":"Lorenzo Spoleti","email":"l.spoleti@papers.ch"},"license":"MIT","_id":"@acelon/acelon-sdk@1.2.0","maintainers":[{"name":"acelon-root","email":"hi@acelon.io"}],"dist":{"shasum":"33e487aae98c5629062c7b6c8e79d6c456f565f3","tarball":"https://registry.npmjs.org/@acelon/acelon-sdk/-/acelon-sdk-1.2.0.tgz","fileCount":8,"integrity":"sha512-ihcRkHQlvbQavf17OCpykOhonD3JD+Y1Y0YB/acpJBNdI0s8WgNDsBGl4V8Nbklw5gy08K3a/V4K2EOcYrW0Rw==","signatures":[{"sig":"MEUCIEmNEQJ0utMy/2dCrtr0IZuhPjYW9MiY9sVE20A8Fp76AiEA2gtDJ4uFg0DSATojeYb6TqRsJ4ubJxc6RtCDI6Hv5Mg=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":52832},"main":"dist/index.js","types":"dist/index.d.ts","gitHead":"03bb55e1624b753a0b9f9d418a074bdb169d4ff9","scripts":{"test":"yarn run ts-node ./test/test.ts","build":"tsc","prepublishOnly":"yarn build"},"_npmUser":{"name":"acelon-root","email":"hi@acelon.io"},"_npmVersion":"10.8.2","description":"The Acelon SDK is a TypeScript library that provides a simple interface to interact with the Acelon Service. It allows developers to fetch price data for various cryptocurrency pairs, with signatures from multiple oracles.","directories":{},"_nodeVersion":"20.18.0","dependencies":{"ws":"^8.18.0","uuid":"^10.0.0","buffer":"^6.0.3","elliptic":"^6.5.6","typescript":"^5.5.4","@types/node":"^22.2.0","@types/uuid":"^10.0.0","@acurast/dapp":"^1.0.1-beta.6"},"_hasShrinkwrap":false,"devDependencies":{"ts-node":"^10.9.2","@types/elliptic":"^6.4.18"},"_npmOperationalInternal":{"tmp":"tmp/acelon-sdk_1.2.0_1728296385964_0.9536693922344455","host":"s3://npm-registry-packages"}},"1.2.1":{"name":"@acelon/acelon-sdk","version":"1.2.1","keywords":["acurast","oracle","sdk"],"author":{"name":"Lorenzo Spoleti","email":"l.spoleti@papers.ch"},"license":"MIT","_id":"@acelon/acelon-sdk@1.2.1","maintainers":[{"name":"acelon-root","email":"hi@acelon.io"}],"dist":{"shasum":"782564bb63caa4574bec120497695efd05b92b47","tarball":"https://registry.npmjs.org/@acelon/acelon-sdk/-/acelon-sdk-1.2.1.tgz","fileCount":8,"integrity":"sha512-tt634yUIm0PietKAV/9MSrs3tmNig7lNNZUB8vSz164gJZCsBGFG+eqJnnn4eGCRdCDqch4Hcg9L21nhJamvUA==","signatures":[{"sig":"MEYCIQC+e8npq2bdBq+PvUD311e9vg6lh3+BHKMtbYJ2Upur2wIhANNUDeH/HbcCiR5Pf18erC/6J8Uk+ABVyClgdLTCsHLZ","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":55704},"main":"dist/index.js","types":"dist/index.d.ts","gitHead":"a7adcfe0ab121a212b188645dd74a9d91c24903a","scripts":{"test":"yarn run ts-node ./test/test.ts","build":"tsc","prepublishOnly":"yarn build"},"_npmUser":{"name":"acelon-root","email":"hi@acelon.io"},"_npmVersion":"10.8.2","description":"The Acelon SDK is a TypeScript library that provides a simple interface to interact with the Acelon Service. It allows developers to fetch price data for various cryptocurrency pairs, with signatures from multiple oracles.","directories":{},"_nodeVersion":"20.18.0","dependencies":{"ws":"^8.18.0","uuid":"^10.0.0","buffer":"^6.0.3","elliptic":"^6.5.6","typescript":"^5.5.4","@types/node":"^22.2.0","@types/uuid":"^10.0.0","@acurast/dapp":"^1.0.1-beta.6"},"_hasShrinkwrap":false,"devDependencies":{"ts-node":"^10.9.2","@types/elliptic":"^6.4.18"},"_npmOperationalInternal":{"tmp":"tmp/acelon-sdk_1.2.1_1728308884439_0.36506030512497856","host":"s3://npm-registry-packages"}},"1.3.0":{"name":"@acelon/acelon-sdk","version":"1.3.0","keywords":["acurast","oracle","sdk"],"author":{"name":"Lorenzo Spoleti","email":"l.spoleti@papers.ch"},"license":"MIT","_id":"@acelon/acelon-sdk@1.3.0","maintainers":[{"name":"acelon-root","email":"hi@acelon.io"}],"dist":{"shasum":"a4dc590c2225a99d5b334657a289bbd46e540d33","tarball":"https://registry.npmjs.org/@acelon/acelon-sdk/-/acelon-sdk-1.3.0.tgz","fileCount":8,"integrity":"sha512-yN6pBAU/W53cxQ9HSnRJYyEmuvHApO0/LExyiAZaYYgbBpEacsXj2Ivr+mgeY1h5jLJ4XqcaLIMmvUhL4xD/TA==","signatures":[{"sig":"MEYCIQC6W6+T1ugBsNDxs7k7eO7d4xgmR3FL1IDGcmmrUbjeeQIhAOMAdAzXW0q+T89zJ95MRB1SnoCLhK6PiNG9/kkHW6v2","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":56810},"main":"dist/index.js","types":"dist/index.d.ts","gitHead":"1e6d3c54d68c13e55ea4551efc435b29ef36089e","scripts":{"test":"yarn run ts-node ./test/test.ts","build":"tsc","prepublishOnly":"yarn build"},"_npmUser":{"name":"acelon-root","email":"hi@acelon.io"},"_npmVersion":"10.8.2","description":"The Acelon SDK is a TypeScript library that provides a simple interface to interact with the Acelon Service. It allows developers to fetch price data for various cryptocurrency pairs, with signatures from multiple oracles.","directories":{},"_nodeVersion":"20.18.0","dependencies":{"ws":"^8.18.0","uuid":"^10.0.0","buffer":"^6.0.3","elliptic":"^6.5.6","typescript":"^5.5.4","@types/node":"^22.2.0","@types/uuid":"^10.0.0","@acurast/dapp":"^1.0.1-beta.6"},"_hasShrinkwrap":false,"devDependencies":{"ts-node":"^10.9.2","@types/elliptic":"^6.4.18"},"_npmOperationalInternal":{"tmp":"tmp/acelon-sdk_1.3.0_1728382045665_0.32246636644543836","host":"s3://npm-registry-packages"}},"1.4.0":{"name":"@acelon/acelon-sdk","version":"1.4.0","keywords":["acurast","oracle","sdk"],"author":{"name":"Lorenzo Spoleti","email":"l.spoleti@papers.ch"},"license":"MIT","_id":"@acelon/acelon-sdk@1.4.0","maintainers":[{"name":"acelon-root","email":"hi@acelon.io"}],"dist":{"shasum":"461e8faac9d170461b54ec1b60ffa8898e040c13","tarball":"https://registry.npmjs.org/@acelon/acelon-sdk/-/acelon-sdk-1.4.0.tgz","fileCount":8,"integrity":"sha512-TCFH96V7+Bz2p2IHiKdXyUpBCLM98SWikO5zJBDcAmirk7MBPn46b4Dt6zAgiDPXFPDUovHsh9jXqm6zJNDYmA==","signatures":[{"sig":"MEUCIGGwvO1QfFpCP9IzW5JgzeVIb/kmsEprNUXBGlBaFLzPAiEAgjuHxceIS6qEJ01bDAu8Jf/fl599C86pr7ggmYxNBnI=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":59233},"main":"dist/index.js","types":"dist/index.d.ts","gitHead":"2cf9b390af079fff932076af9454faea41e7a110","scripts":{"test":"yarn run ts-node ./test/test.ts","build":"tsc","prepublishOnly":"yarn build"},"_npmUser":{"name":"acelon-root","email":"hi@acelon.io"},"_npmVersion":"10.8.2","description":"The Acelon SDK is a TypeScript library that provides a simple interface to interact with the Acelon Service. It allows developers to fetch price data for various cryptocurrency pairs, with signatures from multiple oracles.","directories":{},"_nodeVersion":"20.18.0","dependencies":{"ws":"^8.18.0","uuid":"^10.0.0","buffer":"^6.0.3","elliptic":"^6.5.6","typescript":"^5.5.4","@types/node":"^22.2.0","@types/uuid":"^10.0.0","@acurast/dapp":"^1.0.1-beta.6"},"_hasShrinkwrap":false,"devDependencies":{"ts-node":"^10.9.2","@types/elliptic":"^6.4.18"},"_npmOperationalInternal":{"tmp":"tmp/acelon-sdk_1.4.0_1728403217012_0.4483508873568125","host":"s3://npm-registry-packages"}},"1.4.1":{"name":"@acelon/acelon-sdk","version":"1.4.1","keywords":["acurast","oracle","sdk"],"author":{"name":"Lorenzo Spoleti","email":"l.spoleti@papers.ch"},"license":"MIT","_id":"@acelon/acelon-sdk@1.4.1","maintainers":[{"name":"acelon-root","email":"hi@acelon.io"}],"dist":{"shasum":"4262db49a48d7abfec5f7f9c76f71b6f246fb890","tarball":"https://registry.npmjs.org/@acelon/acelon-sdk/-/acelon-sdk-1.4.1.tgz","fileCount":8,"integrity":"sha512-JlqBwAeU+SYVwo1P/Xkv+O+6CIJsjP74xVRMGALJGopuGzyk7qiye2cfDeSPxB8jYQ1jMU62/VgZWE9gj+gRdw==","signatures":[{"sig":"MEUCIQCagNQaZYBbfzMZgJ/wTkQZHqceeeX7wMuRlzwE5BoSGAIgWLf4q9pq3atKtMgvALYYk9uuGDe8bLHLvkzqgrRqY0w=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":59240},"main":"dist/index.js","types":"dist/index.d.ts","gitHead":"f1f8ab5dec822cdc4a47e100bf1609fcb59ed2ab","scripts":{"test":"yarn run ts-node ./test/test.ts","build":"tsc","prepublishOnly":"yarn build"},"_npmUser":{"name":"acelon-root","email":"hi@acelon.io"},"_npmVersion":"10.8.2","description":"The Acelon SDK is a TypeScript library that provides a simple interface to interact with the Acelon Service. It allows developers to fetch price data for various cryptocurrency pairs, with signatures from multiple oracles.","directories":{},"_nodeVersion":"20.18.0","dependencies":{"ws":"^8.18.0","uuid":"^10.0.0","buffer":"^6.0.3","elliptic":"^6.5.6","typescript":"^5.5.4","@types/node":"^22.2.0","@types/uuid":"^10.0.0","@acurast/dapp":"^1.0.1-beta.6"},"_hasShrinkwrap":false,"devDependencies":{"ts-node":"^10.9.2","@types/elliptic":"^6.4.18"},"_npmOperationalInternal":{"tmp":"tmp/acelon-sdk_1.4.1_1728460618751_0.19274983501543996","host":"s3://npm-registry-packages"}},"1.4.2":{"name":"@acelon/acelon-sdk","version":"1.4.2","keywords":["acurast","oracle","sdk"],"author":{"name":"Lorenzo Spoleti","email":"l.spoleti@papers.ch"},"license":"MIT","_id":"@acelon/acelon-sdk@1.4.2","maintainers":[{"name":"acelon-root","email":"hi@acelon.io"}],"dist":{"shasum":"29dd861680ff7255945ba2a70d8a705a3f340107","tarball":"https://registry.npmjs.org/@acelon/acelon-sdk/-/acelon-sdk-1.4.2.tgz","fileCount":8,"integrity":"sha512-1c6vF2lICWmqRpZESzet+/Fv+11i/t5FuKGu0bSYgIncpgChVKzpMvnuxj7GHCEdMAKSBhYF2yas0ioeLB60Rw==","signatures":[{"sig":"MEUCIAZ7C27XTeT9JVtrMh8ghUMzlpKbFs0GnEQMPlE/LowGAiEAgy5nkF06BuYHfnTwMt+QPVBanw5y+1Lh816iA5XRHK4=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":60236},"main":"dist/index.js","types":"dist/index.d.ts","gitHead":"a1cc5f4095086b5f41c6e0532369a4f52f10f6a9","scripts":{"test":"yarn run ts-node ./test/test.ts","build":"tsc","prepublishOnly":"yarn build"},"_npmUser":{"name":"acelon-root","email":"hi@acelon.io"},"_npmVersion":"10.8.2","description":"The Acelon SDK is a TypeScript library that provides a simple interface to interact with the Acelon Service. It allows developers to fetch price data for various cryptocurrency pairs, with signatures from multiple oracles.","directories":{},"_nodeVersion":"20.18.0","dependencies":{"ws":"^8.18.0","uuid":"^10.0.0","buffer":"^6.0.3","elliptic":"^6.5.6","typescript":"^5.5.4","@types/node":"^22.2.0","@types/uuid":"^10.0.0","@acurast/dapp":"^1.0.1-beta.6"},"_hasShrinkwrap":false,"devDependencies":{"ts-node":"^10.9.2","@types/elliptic":"^6.4.18"},"_npmOperationalInternal":{"tmp":"tmp/acelon-sdk_1.4.2_1728464626051_0.4085200802316731","host":"s3://npm-registry-packages"}},"1.4.3":{"name":"@acelon/acelon-sdk","version":"1.4.3","keywords":["acurast","oracle","sdk"],"author":{"name":"Lorenzo Spoleti","email":"l.spoleti@papers.ch"},"license":"MIT","_id":"@acelon/acelon-sdk@1.4.3","maintainers":[{"name":"acelon-root","email":"hi@acelon.io"}],"dist":{"shasum":"c85d36a23255cc576f2ca4b95dc33181a6d8d681","tarball":"https://registry.npmjs.org/@acelon/acelon-sdk/-/acelon-sdk-1.4.3.tgz","fileCount":8,"integrity":"sha512-AkHKKUHZKJIwrxZfj11Pi3W5pTQe1JPLycxbdjBakxspLoLyypNa9baCXJa7jgE3TIV9x4Qh1V1Qxf15JQG2ew==","signatures":[{"sig":"MEQCIC0jxNaPpt0dWXBWFyzsg4vyPnLQvu5IGUKvAzUdDyzNAiAL73qUR0Wo5h6g3VtwVzPxRFEc7S2N3IlOgHwuv8m69A==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":60236},"main":"dist/index.js","types":"dist/index.d.ts","gitHead":"22e6569d0f2afd60c84dc9ee0968f45c4694a74c","scripts":{"test":"yarn run ts-node ./test/test.ts","build":"tsc","prepublishOnly":"yarn build"},"_npmUser":{"name":"acelon-root","email":"hi@acelon.io"},"_npmVersion":"10.8.2","description":"The Acelon SDK is a TypeScript library that provides a simple interface to interact with the Acelon Service. It allows developers to fetch price data for various cryptocurrency pairs, with signatures from multiple oracles.","directories":{},"_nodeVersion":"20.18.0","dependencies":{"ws":"^8.18.0","uuid":"^10.0.0","buffer":"^6.0.3","elliptic":"^6.5.6","typescript":"^5.5.4","@types/node":"^22.2.0","@types/uuid":"^10.0.0","@acurast/dapp":"^1.0.1-beta.6"},"_hasShrinkwrap":false,"devDependencies":{"ts-node":"^10.9.2","@types/elliptic":"^6.4.18"},"_npmOperationalInternal":{"tmp":"tmp/acelon-sdk_1.4.3_1728465256382_0.37414448537961587","host":"s3://npm-registry-packages"}},"1.4.4":{"name":"@acelon/acelon-sdk","version":"1.4.4","author":{"name":"Lorenzo Spoleti","email":"l.spoleti@papers.ch"},"license":"MIT","main":"dist/index.js","types":"dist/index.d.ts","scripts":{"build":"tsc","test":"yarn run ts-node ./test/test.ts","prepublishOnly":"yarn build"},"keywords":["acurast","oracle","sdk"],"dependencies":{"@acurast/dapp":"^1.0.1-beta.6","@types/node":"^22.2.0","@types/uuid":"^10.0.0","buffer":"^6.0.3","elliptic":"^6.5.6","typescript":"^5.5.4","uuid":"^10.0.0","ws":"^8.18.0"},"devDependencies":{"@types/elliptic":"^6.4.18","ts-node":"^10.9.2"},"_id":"@acelon/acelon-sdk@1.4.4","gitHead":"4d0f37ae5b8d30fcb3bcfec06cd64ffbbd03840b","description":"The Acelon SDK is a TypeScript library that provides a simple interface to interact with the Acelon Service. It allows developers to fetch price data for various cryptocurrency pairs, with signatures from multiple oracles.","_nodeVersion":"20.18.0","_npmVersion":"10.8.2","dist":{"integrity":"sha512-b1EtjK+yMERrK4syByO2dhZ/nRlIe6NvHZVSGPpRq2A4ZMaj6dy1lJ09RscV+IWZRNjrtVNdtYhqI4KU0fYxVw==","shasum":"5b54c5c565cae5328267a10404257cb18242ae84","tarball":"https://registry.npmjs.org/@acelon/acelon-sdk/-/acelon-sdk-1.4.4.tgz","fileCount":8,"unpackedSize":60296,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHJY4YG8XtzklzEJKzwJntrR8/xZmWvTdxaFOlQUQXHnAiBrPmc/5CsDDCrPiYgapbzirM9VjFVtvvSY1MHehfuHMg=="}]},"_npmUser":{"name":"acelon-root","email":"hi@acelon.io"},"directories":{},"maintainers":[{"name":"acelon-root","email":"hi@acelon.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/acelon-sdk_1.4.4_1728561356797_0.11156814054129827"},"_hasShrinkwrap":false}},"time":{"created":"2024-09-24T07:36:17.223Z","modified":"2024-10-10T11:55:57.198Z","1.1.4":"2024-09-24T07:36:17.594Z","1.1.5":"2024-09-25T08:39:29.108Z","1.1.7":"2024-10-07T07:12:37.098Z","1.1.8":"2024-10-07T07:48:04.806Z","1.1.9":"2024-10-07T09:00:58.519Z","1.2.0":"2024-10-07T10:19:46.120Z","1.2.1":"2024-10-07T13:48:04.633Z","1.3.0":"2024-10-08T10:07:25.854Z","1.4.0":"2024-10-08T16:00:17.255Z","1.4.1":"2024-10-09T07:56:58.947Z","1.4.2":"2024-10-09T09:03:46.218Z","1.4.3":"2024-10-09T09:14:16.611Z","1.4.4":"2024-10-10T11:55:56.997Z"},"author":{"name":"Lorenzo Spoleti","email":"l.spoleti@papers.ch"},"license":"MIT","keywords":["acurast","oracle","sdk"],"description":"The Acelon SDK is a TypeScript library that provides a simple interface to interact with the Acelon Service. It allows developers to fetch price data for various cryptocurrency pairs, with signatures from multiple oracles.","maintainers":[{"name":"acelon-root","email":"hi@acelon.io"}],"readme":"# Acelon SDK\n\nThe Acelon SDK is a TypeScript library that provides a simple interface to interact with the Acelon Service. It allows developers to fetch price data for various cryptocurrency pairs, with signatures from multiple oracles.\n\n## Features\n\n- Fetch price data for multiple cryptocurrency pairs\n- Verify price data across multiple oracles\n- Check the health status of supported exchanges\n- Support for different blockchain protocols (Substrate, EVM, WASM, Tezos)\n\n## Installation\n\nTo install the Acelon SDK, use yarn:\n\n```bash\nyarn add @acelon/acelon-sdk\n```\n\n## Usage\n\n### Initializing the SDK\n\nFirst, import and initialize the Acelon Sdk:\n\n```typescript\nimport { AcelonSdk } from '@acelon/acelon-sdk'\n\nconst sdk = new AcelonSdk({\n  timeout: 20000, // (optional) default 20 seconds\n  logging: true, // (optional) default false\n  errorThreshold: 3, // (optional) default 3\n})\n```\n\n### Fetching Price Data\n\nTo fetch price data for cryptocurrency pairs:\n\n```typescript\nconst fetchPricesParams = {\n  pairs: [\n    { from: 'BTC', to: 'USDT' },\n    { from: 'ETH', to: 'USDT' },\n  ],\n  protocol: 'EVM',\n  aggregation: 'median',\n}\n\ntry {\n  const priceData = await sdk.getPrices(fetchPricesParams, 2) // Require 2 verifications\n  console.log('Price data:', priceData)\n} catch (error) {\n  console.error('Error fetching prices:', error)\n}\n```\n\n### Checking Exchange Health\n\nTo check the health status of supported exchanges:\n\n```typescript\ntry {\n  const exchanges = await sdk.getExchanges()\n  console.log('Available exchanges:', exchanges)\n} catch (error) {\n  console.error('Error checking exchange health:', error)\n}\n```\n\n### Closing the Connection\n\nWhen you're done using the SDK, close the connection:\n\n```typescript\nawait sdk.close()\n```\n\n## Response Examples\n\n### getPrices Response\n\n```typescript\n;[\n  {\n    priceData: {\n      from: 'BTC',\n      to: 'USDT',\n      decimals: 8,\n      price: 5000000000000,\n      timestamp: 1629300000000,\n      sources: [\n        { exchangeId: 'BNC', certificate: 'cert1' },\n        { exchangeId: 'CBP', certificate: 'cert2' },\n      ],\n      requestHash: '0x1234567890abcdef',\n    },\n    packed: ['packed_data_1', 'packed_data_2'],\n    signatures: ['signature1', 'signature2'],\n    pubKeys: ['pubKey1', 'pubKey2'],\n  },\n  {\n    priceData: {\n      from: 'ETH',\n      to: 'USDT',\n      decimals: 8,\n      price: 300000000000,\n      timestamp: 1629300000000,\n      sources: [\n        { exchangeId: 'BNC', certificate: 'cert1' },\n        { exchangeId: 'CBP', certificate: 'cert2' },\n      ],\n      requestHash: '0x1234567890abcdef',\n    },\n    packed: ['packed_data_3', 'packed_data_4'],\n    signatures: ['signature3', 'signature4'],\n    pubKeys: ['pubKey1', 'pubKey2'],\n  },\n]\n```\n\n### getExchanges Response\n\n```typescript\n;['BNC', 'CBP', 'BFX', 'KRK', 'GEM']\n```\n\n## Description\n\n### `AcelonSdk`\n\n#### Constructor\n\n```typescript\nnew AcelonSdk(options: AcelonSdkOptions)\n```\n\n- `options.wssUrls`: (Optional) Array of WebSocket URLs to connect to the Acurast processors.\n- `options.oracles`: (Optional) Array of processor public keys. These have to be public keys of processors that are running the Acelon Oracle. By default it will use the public keys from the Acelon Service.\n- `options.timeout`: (Optional) Timeout in milliseconds for the requests. Default: 20 seconds.\n- `options.logging`: (Optional) Enable or disable logs. Default: false.\n- `options.errorThreshold`: (Optional) Number of oracles that have to respond with the same error for it to be thrown by the sdk. Default: 3.\n\n#### Custom Oracles\n\nIf you want to use your own oracles :\n\n1. First you will need to deploy your own Acelon Oracles on Acurast. [Here](https://github.com/acelonoracle/acelon-oracle) you can find the Acelon Oracle to deploy. See the documentation for [deployment creation](https://docs.acurast.com/developers/deployment-creation).\n2. Once deployed, you will be able to get the public keys to use in the options when initializing the SDK.\n\n#### Methods\n\n##### `getPrices(params: FetchPricesParams, verifications: number = 0): Promise<GetPricesResult[]>`\n\nFetches price data from the oracle network.\n\n- `params`: The parameters for fetching prices. It includes:\n  - `pairs`: Array of Pairs, Pairs to fetch prices for:\n    - `from`: String, from symbol.\n    - `to`: String, to symbol.\n    - `decimals`: Number of decimals for the price.\n    - `exchanges`: (Optional) List of exchange IDs to use as sources on the oracles. Default: all available exchanges.\n    - `price`: (Optional) Price(s) to verify against the oracle price. (Provide a price per aggregatyion type requested)\n    - `timestamp`: (Optional) Number, timestamp of the provided prices.\n  - `protocol`: Protocol to package and sign the price data for.\n  - `minSources`: (Optional) Minimum number of sources required. Default: 3.\n  - `tradeAgeLimit`: (Optional) Maximum age of trade data in seconds. Default: 5 minutes.\n  - `aggregation`: (Optional) Types of price aggregation requested from the oracles. Default: mean.\n  - `maxSourcesDeviation`: (Optional) Maximum allowed standard deviation between prices in the sources. Default: no limit.\n  - `maxValidationDiff`: (Optional) Maximum allowed price difference for validation against client. Default: 0.05%.\n- `verifications`: The number of verifications required. Default: 0.\n\n### getPrices Response\n\n`GetPricesResult[]`\nEach object contains the following properties:\n\n1. `priceData`:\n\n   - `from`: String - From symbol.\n   - `to`: String - To symbol.\n   - `decimals`: Number of decimals for the price.\n   - `price`: Number or Number[] - Aggregated price(s).\n   - `timestamp`: Number - Timestamp of the price data in ms.\n   - `sources`: Array of Objects - Map exchangeID to the certificate for sources used.\n     - `exchangeId`: String - The unique identifier of the exchange.\n     - `certificate`: String - The API certificate.\n   - `requestHash`: String - Hash of the original request parameters.\n\n2. `packed`: String[] - Price data in the packed format for the chosen protocol.\n\n3. `signatures`: String[] - Oracle signatures.\n\n4. `pubKeys`: String[] - Oracle public keys.\n\n##### `getExchanges(params?: CheckExchangeHealthParams, requiredResponses: number = 0): Promise<string[]>`\n\nRetrieves a list of available exchanges.\n\n- `params`: (Optional) The parameters for checking exchange health. It includes:\n  - `exchanges`: (Optional) List of exchange IDs to check. Default: all available exchanges.\n- `requiredResponses`: (Optional) The number of required responses from the oracles. Default: 0.\n\n##### `close(): Promise<void>`\n\nCloses the WebSocket connection.\n\n#### Exchange ID table\n\n| Exchange ID | Exchange Name |\n| ----------- | ------------- |\n| BNU         | Binance US    |\n| BNC         | Binance       |\n| CBP         | Coinbase      |\n| BFX         | Bitfinex      |\n| KRK         | Kraken        |\n| BYB         | Bybit         |\n| GEM         | Gemini        |\n| KUC         | Kucoin        |\n| GIO         | Gate IO       |\n| CRY         | Crypto.com    |\n| HTX         | HTX           |\n| MEXC        | MEXC          |\n| WBIT        | Whitebit      |\n| OKX         | OKX           |\n| UPB         | Upbit         |\n\n## License\n\nThis project is licensed under the MIT License.\n","readmeFilename":"README.md"}