|
|
@@ -1,3 +1,122 @@
|
|
|
+###
|
|
|
+POST {{ baseUrl }}/history/batchSave
|
|
|
+Content-Type: application/json
|
|
|
+
|
|
|
+{
|
|
|
+ "list": [
|
|
|
+ {
|
|
|
+ "chainId": 2,
|
|
|
+ "hash": "0x514232df6658072d63d645b24f5e9aa1ed2caede87b6d180b2dd5c5ff42b5f53",
|
|
|
+ "blockNumber": 15987098,
|
|
|
+ "fromAddress": "0x13fbc25180fa1dc051838a2744e41c3f5a651b19",
|
|
|
+ "toAddress": "0x036b758df82270534096ea1d0b321981788779d7",
|
|
|
+ "inputData": "0x760f93ae00000000000000000000000000000000000000000000000a96bb748bbc498000000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000020000000000000000000000008a521189bfedf99b1dc84bc21571cf8b799dbd4d0000000000000000000000005186c4fb5752eb4a952c7ef03fae3e543f48383e",
|
|
|
+ "valueStr": 1234,
|
|
|
+ "nonce": 42707,
|
|
|
+ "method": "0x760f93ae",
|
|
|
+ "transactionType": "0x0",
|
|
|
+ "transactionIndex": 5,
|
|
|
+ "gasPriceStr": 1500000008,
|
|
|
+ "gasUsedStr": 173158,
|
|
|
+ "transferList": [
|
|
|
+ {
|
|
|
+ "token": "0x8a521189bfedf99b1dc84bc21571cf8b799dbd4d",
|
|
|
+ "from": "0x036b758df82270534096ea1d0b321981788779d7",
|
|
|
+ "to": "0x1ae02bcc3c89dd75c141aa448829d0e3c696d9bb",
|
|
|
+ "amount": 195328843806937808896,
|
|
|
+ "amountStr": 195328843806937808896
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "token": "0x5186c4fb5752eb4a952c7ef03fae3e543f48383e",
|
|
|
+ "from": "0x1ae02bcc3c89dd75c141aa448829d0e3c696d9bb",
|
|
|
+ "to": "0x036b758df82270534096ea1d0b321981788779d7",
|
|
|
+ "amount": 49854422,
|
|
|
+ "amountStr": 49854422
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "token": "0x5186c4fb5752eb4a952c7ef03fae3e543f48383e",
|
|
|
+ "from": "0x036b758df82270534096ea1d0b321981788779d7",
|
|
|
+ "to": "0x1ae02bcc3c89dd75c141aa448829d0e3c696d9bb",
|
|
|
+ "amount": 49854422,
|
|
|
+ "amountStr": 49854422
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "token": "0x8a521189bfedf99b1dc84bc21571cf8b799dbd4d",
|
|
|
+ "from": "0x1ae02bcc3c89dd75c141aa448829d0e3c696d9bb",
|
|
|
+ "to": "0x036b758df82270534096ea1d0b321981788779d7",
|
|
|
+ "amount": 194159128885449221189,
|
|
|
+ "amountStr": 194159128885449221189
|
|
|
+ }
|
|
|
+ ],
|
|
|
+ "incomeStr": 0,
|
|
|
+ "profitStr": 0,
|
|
|
+ "costStr": 0,
|
|
|
+ "status": 1,
|
|
|
+ "tradeType": 0,
|
|
|
+ "isMev": 0,
|
|
|
+ "isBot": 0,
|
|
|
+ "timestamp": "1669183616.5028968"
|
|
|
+ },{
|
|
|
+ "chainId": 3,
|
|
|
+ "hash": "0x514232df6658072d63d645b24f5e9aa1ed2caede87b6d180b2dd5c5ff42b5f51",
|
|
|
+ "blockNumber": 15987098,
|
|
|
+ "fromAddress": "0x13fbc25180fa1dc051838a2744e41c3f5a651b19",
|
|
|
+ "toAddress": "0x036b758df82270534096ea1d0b321981788779d7",
|
|
|
+ "inputData": "0x760f93ae00000000000000000000000000000000000000000000000a96bb748bbc498000000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000020000000000000000000000008a521189bfedf99b1dc84bc21571cf8b799dbd4d0000000000000000000000005186c4fb5752eb4a952c7ef03fae3e543f48383e",
|
|
|
+ "valueStr": 12345,
|
|
|
+ "nonce": 42707,
|
|
|
+ "method": "0x760f93ae",
|
|
|
+ "transactionType": "0x0",
|
|
|
+ "transactionIndex": 5,
|
|
|
+ "gasPriceStr": 1500000008,
|
|
|
+ "gasUsedStr": 173158,
|
|
|
+ "transferList": [
|
|
|
+ {
|
|
|
+ "token": "0x8a521189bfedf99b1dc84bc21571cf8b799dbd4d",
|
|
|
+ "from": "0x036b758df82270534096ea1d0b321981788779d7",
|
|
|
+ "to": "0x1ae02bcc3c89dd75c141aa448829d0e3c696d9bb",
|
|
|
+ "amount": 195328843806937808896,
|
|
|
+ "amountStr": 195328843806937808896
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "token": "0x5186c4fb5752eb4a952c7ef03fae3e543f48383e",
|
|
|
+ "from": "0x1ae02bcc3c89dd75c141aa448829d0e3c696d9bb",
|
|
|
+ "to": "0x036b758df82270534096ea1d0b321981788779d7",
|
|
|
+ "amount": 49854422,
|
|
|
+ "amountStr": 49854422
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "token": "0x5186c4fb5752eb4a952c7ef03fae3e543f48383e",
|
|
|
+ "from": "0x036b758df82270534096ea1d0b321981788779d7",
|
|
|
+ "to": "0x1ae02bcc3c89dd75c141aa448829d0e3c696d9bb",
|
|
|
+ "amount": 49854422,
|
|
|
+ "amountStr": 49854422
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "token": "0x8a521189bfedf99b1dc84bc21571cf8b799dbd4d",
|
|
|
+ "from": "0x1ae02bcc3c89dd75c141aa448829d0e3c696d9bb",
|
|
|
+ "to": "0x036b758df82270534096ea1d0b321981788779d7",
|
|
|
+ "amount": 194159128885449221189,
|
|
|
+ "amountStr": 194159128885449221189
|
|
|
+ }
|
|
|
+ ],
|
|
|
+ "incomeStr": 0,
|
|
|
+ "profitStr": 0,
|
|
|
+ "costStr": 0,
|
|
|
+ "status": 1,
|
|
|
+ "tradeType": 0,
|
|
|
+ "isMev": 0,
|
|
|
+ "isBot": 0,
|
|
|
+ "timestamp": "1669183616.5028968"
|
|
|
+ }
|
|
|
+ ],
|
|
|
+ "auth": {
|
|
|
+ "auth": "9d8b7074bf189dcad17189c8f264c0cb",
|
|
|
+ "timestamp": "123123"
|
|
|
+ }
|
|
|
+}
|
|
|
+
|
|
|
+
|
|
|
###
|
|
|
POST {{ baseUrl }}/history/appendOrUpdate
|
|
|
Content-Type: application/json
|