Documentation ¶
Overview ¶
Package oracle provides interface to OracleContract native contract. Oracles allow you to get external (non-blockchain) data using HTTPS or NeoFS protocols.
Index ¶
Constants ¶
View Source
const Hash = "\x58\x87\x17\x11\x7e\x0a\xa8\x10\x72\xaf\xab\x71\xd2\xdd\x89\xfe\x7c\x4b\x92\xfe"
Hash represents Oracle contract hash.
Variables ¶
This section is empty.
Functions ¶
func GetPrice ¶ added in v0.94.0
func GetPrice() int
GetPrice represents `getPrice` method of Oracle native contract.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.