deposit_history
Get deposit history
get/api/v1/deposit/history
Query parameters
account_indexinteger · int64Required
Account index to query.
l1_addressstringRequired
Ethereum L1 wallet address.
cursorstringOptional
Opaque pagination cursor returned by the previous response; pass it unchanged.
filterstring · enumOptionalPossible values:
Select the records to include using the listed filter values. Allowed values: all, pending, claimable.
Header parameters
authorizationstringRequired
Auth token in the Authorization header.
Responses
200
A successful response.
application/json
codeinteger · int32RequiredExample:
200messagestringOptional
cursorstringRequired
400
Bad request
application/json
get/api/v1/deposit/history
GET /api/v1/deposit/history?account_index=1&l1_address=text HTTP/1.1
Host: mainnet.zklighter.elliot.ai
authorization: text
Accept: */*
{
"code": 200,
"message": "text",
"deposits": [
{
"id": "text",
"amount": "0.1",
"timestamp": 1640995200,
"status": "failed",
"l1_tx_hash": "0x70997970C51812dc3A010C7d01b50e0d17dc79C8",
"asset_id": 1
}
],
"cursor": "text"
}Last updated
Was this helpful?