class Counterparty::BetMatch

An object that describes a specific occurance of two bets being matched (either partially, or fully).

Attributes

backward_quantity[RW]

(integer): The quantity of XCP bet in the matching bet

deadline[RW]

(integer): The timestamp at which the bet match was made, in Unix time.

fee_multiplier[RW]

(integer):

feed_address[RW]

(string): The address of the feed that the bets refer to

forward_quantity[RW]

(integer): The quantity of XCP bet in the initial bet

initial_value[RW]

(integer):

leverage[RW]

(integer): Leverage, as a fraction of 5040

target_value[RW]

(float): Target value for Equal/NotEqual bet

tx0_address[RW]

(string): The address that issued the initial bet

tx0_bet_type[RW]

(string): The type of the initial bet (0 for Bullish CFD, 1 for Bearish CFD, 2 for Equal, 3 for Not Equal)

tx0_block_index[RW]

(integer): The Bitcoin block index of the initial bet

tx0_expiration[RW]

(integer): The number of blocks over which the initial bet was valid

tx0_hash[RW]

(string): The Bitcoin transaction hash of the initial bet

tx0_index[RW]

(integer): The Bitcoin transaction index of the initial bet

tx1_address[RW]

(string): The address that issued the matching bet

tx1_bet_type[RW]

(string): The type of the counter bet (0 for Bullish CFD, 1 for Bearish CFD, 2 for Equal, 3 for Not Equal)

tx1_block_index[RW]

(integer): The block index of the matching bet

tx1_expiration[RW]

(integer): The number of blocks over which the matching bet was valid

tx1_hash[RW]

(string): The transaction hash of the matching bet

tx1_index[RW]

(integer): The transaction index of the matching (counter) bet

validity[RW]

(string): Set to “valid” if a valid order match. Any other setting signifies an invalid/improper order match