# Oracle

NOTE

The following objects capture information from the Oracle API. To submit exchange rate votes or prevotes, you'll need to create a transaction with MsgExchangeRateVote or MsgExchangeRatePrevote and broadcast it.

# Exchange Rate Vote

jigu.core.ExchangeRateVote

Stores information about data about Oracle votes fetched from the blockchain.

Coin
exchange_rate

Exchange rate reported.

Denom
denom

Denomination against LUNA reported.

ValAddress
voter

Voting validator's operator address.

# Exchange Rate Prevote

jigu.core.ExchangeRatePrevote

Stores information about data about Oracle prevotes fetched from the blockchain.

str
hash

Vote hash.

Denom
denom

Denomination against LUNA reported.

ValAddress
voter

Voting validator's operator address.

int
submit_block

Height of block during which prevote was submitted.

Updated on: 3/4/2020, 7:47:53 AM