Show / Hide Table of Contents
Last modified: 2024-09-14

Oracle Class

Provides a series of methods of the native contract Oracle, which contract hash is 0xfe924b7cfe89ddd271abaf7210a80a7e11178758 .

Namespace: Neo.SmartContract.Framework.Native

Assembly: Neo.SmartContract.Framework

Syntax

public class Oracle

Attribute

NameDescription
HashThe contract hash

Method

NameDescription
GetPrice()Gets the price for an Oracle request
Request(string url, string filter, string callback, object userData, long gasForResponse) Initiates an Oracle request