πŸ”’L2 Account Update Stream

Pushes update events about deposits, transfers and withdrawals to/from Spot Account.

Features:

  • Stream Name: l2Update

  • Update Speed: Real-time

Deposit

Push when funds was deposited to Spot Account from Eth Account

Response:

{
    "eventType" : "l2SpotDeposit",
    "eventTime" : 1670240315627,
    "transactionUuid" : "605caef9-5dd4-48bb-9893-dbf2918fd6eb",
    "balance" : 99528.16,
    "amount" : 141.3,
    "asset" : "usdt",
    "txHash" : "DEGPRB5PGRLGRL0049SKLD4042K",
    "blockIdx" : 1032505
}

Transfer

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

Response:

Withdrawal

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

Responses:

Last updated