Open bitcoinbrisbane opened 2 months ago
@darrenrogan ill double check the signatures, the shape has changed
The shape of the api is now this, so we can do win and place bets.
"backs": [
{
"type": "win",
"nonce": "0xc7393020754f26c7eb12deb46707cd00",
"market_id": "019839MACW01",
"close": 1714099560,
"end": 1714099920,
"odds": 2.390701,
"proposition_id": "019839MACW0101",
"signature": {
"v": 27,
"r": "0x839f8373e1932980fad33efc53d947eac9b2be28d254ed9b09cd891e180fe1f0",
"s": "0x7eeaff75e6a7e9d0eec29ab45948b8043ae3429892055563abc4ab0ac27f513b"
}
},
{
"type": "place",
"nonce": "0xc7393020754f26c7eb12deb46707cd00",
"market_id": "019839MACW01",
"close": 1714099560,
"end": 1714099920,
"odds": 1.390953,
"proposition_id": "019839MACW0101",
"signature": {
"v": 27,
"r": "0x48c18aa1ca3100f9b17d288b98fd56a90b90f8895d23225c949d98979facc269",
"s": "0x4ad6984b969033609822e13ba3788627d93790ee8d920e2bd0c7adf3fc0c7284"
}
}
"proposition_id": "019839MACW0101" is wrong, should be "proposition_id": "019839MACP0101", (p for place)
"proposition_id": "019839MACW0101" is wrong, should be "proposition_id": "019839MACP0101", (p for place)