Coset
Oracle
Public oracle information
Oracle AddressDetails
Update price
Network
Owner
To interact with this oracle, you can use Coset SDK. Every public oracle on Coset can be read without permissions or fees. If you need fresh data, you need to call an update request and pay the update fee.
Current Data
import { Coset, Networks, PaymentToken } from "@coset-dev/sdk";
const coset = new Coset(
"<network>" as Networks,
PaymentToken.CST,
"<oracle-address>",
process.env.WALLET_PRIVATE_KEY as `0x${string}`,
);
async function main() {
return await coset.read();
}
main();Install Coset SDK using:
npm install @coset-dev/sdk