Interacting with Oracle on MoveVM
Overview
Sample Contract Implementation
GetPrice
#[view]
public fun get_price(pair_id: String): (u256, u64, u64) {
get_price_internal(*string::bytes(&pair_id))
}Conclusion
Last updated