🔵How to Integration APassOracle
Contract
Address: 0xffd89fe22fd620d2cba0b3aaccdde6f5ad63ce7a7b18d13c0dc61e21521affff
Source Code: https://github.com/APassNetwork/aoracle-contract
Access off-chain
You can easily access AOracle real-time data through API.
Visit AOracle Board at http://aptpp.com/#/aoracle , choose your pair and you will get API Url like:
The maximum delay between on-chain data and API data is 5 seconds
Access on-chain
You should add a dependency in your project move.toml
Then add the module reference in the move code, and use AOracle like follow:
Last updated