Copy {
"eventType" : "l2SpotDeposit",
"eventTime" : 1670240315627,
"transactionUuid" : "605caef9-5dd4-48bb-9893-dbf2918fd6eb",
"balance" : 99528.16,
"amount" : 141.3,
"asset" : "usdt",
"txHash" : "DEGPRB5PGRLGRL0049SKLD4042K",
"blockIdx" : 1032505
}
Push when funds was transfer to/from Spot Account from/to Future Account. Sign of 'amount' field shows the direction of transfer. If amount of positive then is was transfer to Spot Account from Future Account otherwise vice versa
Copy {
"eventType" : "l2SpotTransfer",
"eventTime" : 1670240315627,
"transactionUuid" : "105caef9-5dd4-48bb-9893-dbf2918fd6eb",
"balance" : 300.1,
"amount" : 100.50,
"asset" : "usdt",
"txHash" : "DEGPRB5PGRLGRL0049SKLD4042K",
"blockIdx" : 1032505
}
Push when funds are withdrawn from the Spot Account to the Eth Account. There are 4 events that will be sent in the following sequence
Copy {
"eventType" : "l2SpotWithdrawSetInBatch",
"eventTime" : 1670240315627,
"transactionUuid" : "605caef9-5dd4-48bb-9893-dbf2918fd6eb",
"balance" : 200.161345,
"amount" : 13.0,
"asset" : "usdt",
"txHash" : "28D430F29E4490BB840EB30986AD96F96433AE9502809740E339DEA92907F77C",
"blockIdx" : 1032505
}
Copy {
"eventType" : "l2SpotWithdrawSignBatch",
"eventTime" : 1670240315431,
"transactionUuid" : "605caef9-5dd4-48bb-9893-dbf2918fd6eb"
}
Copy {
"eventType" : "l2SpotWithdrawBatchReadyToBridge",
"eventTime" : 1670240315911,
"transactionUuid" : "605caef9-5dd4-48bb-9893-dbf2918fd6eb"
}
Copy {
"eventType" : "l2SpotWithdrawFinalize",
"eventTime" : 167024031803,
"transactionUuid" : "605caef9-5dd4-48bb-9893-dbf2918fd6eb"
}