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
#
Syntaxpublic class Oracle
#
AttributeName | Description |
---|---|
Hash | The contract hash |
#
MethodName | Description |
---|---|
GetPrice() | Gets the price for an Oracle request |
Request(string url, string filter, string callback, object userData, long gasForResponse) | Initiates an Oracle request |