class Counterparty::Bet
An object that describes a specific bet.
Constants
Attributes
(integer): 0 for Bullish CFD, 1 for Bearish CFD, 2 for Equal, 3 for Not Equal
(integer): The block index (block number in the block chain)
(integer): The minimum quantity of XCP to be wagered by the user to bet against the bet issuer, if the other party were to accept the whole thing
(integer): The timestamp at which the bet should be decided/settled, in Unix time.
(integer): The number of blocks for which the bet should be valid
(integer):
(string): The address with the feed that the bet is to be made on
(integer): Leverage, as a fraction of 5040
(float):
(string): The address that made the bet
(float): Target value for Equal/NotEqual bet
(string): The transaction hash
(integer): The transaction index
(string): Set to “valid” if a valid bet. Any other setting signifies an invalid/improper bet
(integer): The quantity of XCP to wager
(integer): The quantity of XCP wagered that is remaining to bet on