dia!
. It can be used to retrieve any data from the DIA API. The offchain worker "lives" in a node deployed to a parachain and needs an active Internet connection. It acts as an oracle that provides data for any application inside the specific parachain.[dependencies]
:"pallet-dia-ocw/std",
at the [features]
section:DIAOCW: pallet_dia_ocw::{Module, Call, Event<T>},
to the Runtime
enum:cargo run -- --dev --tmp
.Alice
via RPC: