(self, params={})
| 1372 | return self.uuid5(nameSp, orderInfo) |
| 1373 | |
| 1374 | def fetch_latest_block_height(self, params={}) -> int: |
| 1375 | response = self.nodeRpcGetAbciInfo(params) |
| 1376 | # |
| 1377 | # { |
| 1378 | # "jsonrpc": "2.0", |
| 1379 | # "id": -1, |
| 1380 | # "result": { |
| 1381 | # "response": { |
| 1382 | # "data": "dydxprotocol", |
| 1383 | # "version": "9.1.0-rc0", |
| 1384 | # "last_block_height": "49157714", |
| 1385 | # "last_block_app_hash": "9LHAcDDI5zmWiC6bGiiGtxuWPlKJV+/fTBZk/WQ/Y4U=" |
| 1386 | # } |
| 1387 | # } |
| 1388 | # } |
| 1389 | # |
| 1390 | result = self.safe_dict(response, 'result') |
| 1391 | info = self.safe_dict(result, 'response') |
| 1392 | return self.safe_integer(info, 'last_block_height') |
| 1393 | |
| 1394 | def create_order(self, symbol: str, type: OrderType, side: OrderSide, amount: float, price: Num = None, params={}) -> Order: |
| 1395 | """ |
no test coverage detected