For the complete documentation index, see llms.txt. This page is also available as Markdown.

transfer_history

Get transfer history. To fetch an account index, you will need to auth the request, unless it's a public pool.

get
/api/v1/transfer/history
Query parameters
account_indexinteger · int64Required

Account index to query.

cursorstringOptional

Opaque pagination cursor returned by the previous response; pass it unchanged.

Header parameters
authorizationstringRequired

Auth token in the Authorization header.

Responses
200

A successful response.

application/json
codeinteger · int32RequiredExample: 200
messagestringOptional
cursorstringRequired
get/api/v1/transfer/history
GET /api/v1/transfer/history?account_index=1 HTTP/1.1
Host: mainnet.zklighter.elliot.ai
authorization: text
Accept: */*
{
  "code": 200,
  "message": "text",
  "transfers": [
    {
      "id": "text",
      "amount": "0.1",
      "timestamp": 1640995200,
      "type": "L2TransferInflow",
      "from_l1_address": "0x70997970C51812dc3A010C7d01b50e0d17dc79C8",
      "to_l1_address": "0x70997970C51812dc3A010C7d01b50e0d17dc79C8",
      "from_account_index": 1,
      "to_account_index": 1,
      "tx_hash": "0x70997970C51812dc3A010C7d01b50e0d17dc79C8",
      "asset_id": 1,
      "fee": "text",
      "from_route": "spot",
      "to_route": "spot"
    }
  ],
  "cursor": "text"
}

Last updated

Was this helpful?