Settings

Blockchain
Network
Unit
Language
Theme
Sound New Block

Transaction

08b3758c8e3daf682fd5777ab505eb55a57a7f00f06e143b520c6f8f5200a521
Timestamp (utc)
2021-02-02 17:27:42
Fee Paid
0.00001176 BSV
(
0.03990064 BSV
-
0.03988888 BSV
)
Fee Rate
500.4 sat/KB
Version
1
Confirmations
321,777
Size Stats
2,350 B

2 Outputs

Total Output:
0.03988888 BSV
  • Q!g¹é4̀4N´‡¢¥OÉNÄ`<—2²êIYQ£·`¡YQ®M;{"__cls":"class P2Pchess{\n constructor(){\n this.rooms = [];\n }\n addRoom(roomId,playerId){\n let r = {\n roomId : roomId,\n players : [playerId],\n createdBy : playerId,\n moves : [],\n state : 0,\n }\n this.rooms.push(r);\n \n }\n initPlay(roomId){\n let i = this.getRoomIndex(roomId);\n this.rooms[i].state = 1;\n }\n insertMove(roomId,playerId,data){\n let i = this.getRoomIndex(roomId);\n if(this.rooms[i].state != 0 && this.rooms[i].state != 6){\n let m = {\n playerId : playerId,\n move : data,\n lastUpdated : new Date().getTime()\n }\n this.rooms[i].moves.push(m);\n }else{\n throw new Error(erros.ERROR_INVALID_GAME_STATE);\n }\n\n\n }\n joinRoom(roomId,playerId){\n let i = this.getRoomIndex(roomId);\n if(this.rooms[i].players.length<=2){\n this.rooms[i].players.push(playerId);\n }else{\n throw new Error(erros.ERROR_ROOM_OVERFLOW);\n }\n \n }\n leaveRoom(roomId,playerId){\n let i = this.getRoomIndex(roomId);\n if(this.rooms[i].players.length>0){\n let roomIdIndex = this.rooms[i].players.indexOf(playerId);\n if(roomIdIndex > -1){\n this.rooms[i].players.splice(roomIdIndex,1);\n }\n }else{\n throw new Error(erros.ERROR_EMPTY_ROOM)\n }\n }\n closeRoom(roomId,playerId){\n let i = this.getRoomIndex(roomId);\n if(this.rooms[i].createdBy == playerId){\n this.rooms[i].state = 6;\n }else{\n throw new Error(erros.ERROR_UNAUTHORIZED_OPERATION);\n } \n }\n getRoomIndex(roomId){\n let i;\n for(i=0;i<this.rooms.length;i++){\n if(this.rooms[i].roomId == roomId){\n return i;\n break;\n }\n }\n }\n}","__index":{"obj":0},"__func":"constructor","__args":[]}u
    https://whatsonchain.com/tx/08b3758c8e3daf682fd5777ab505eb55a57a7f00f06e143b520c6f8f5200a521