How AI is applied across API Evangelist and APIs.io. Read my AI disclosure →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

Lighter transaction API

The transaction API from Lighter — 12 operation(s) for transaction.

Lighter transaction API is one of 13 APIs that Lighter publishes on the APIs.io network, described by a machine-readable OpenAPI specification and an AsyncAPI event-driven specification.

Tagged areas include Transaction. The published artifact set on APIs.io includes an OpenAPI specification, an AsyncAPI specification, API documentation, and an API reference.

This API exposes 12 operations across 12 paths, and defines 16 schemas. It is described by OpenAPI 3.0.0, at version 1.0.

Requests are made against a single base URL, https://mainnet.zklighter.elliot.ai.

12 operations 12 paths 16 schemas 9 GET3 POST

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.0.0
API Version
1.0
Base URL
https://mainnet.zklighter.elliot.ai
Authentication
API Key
Resource Areas
1

Authentication & Security 1

Lighter transaction API declares 1 security scheme for authenticating requests. An API key is passed in the header as Authorization (apiKey).

  • apiKey — Enter JWT Bearer token only

Paths & Operations 12

Across 12 paths, the API surfaces 12 operations — 9 GET, 3 POST. Each is listed below with its method, path, parameters, and response codes.

transaction 12
GET
/api/v1/accountTxs
accountTxs
accountTxs 7 params → 200400
GET
/api/v1/blockTxs
blockTxs
blockTxs 2 params → 200400
GET
/api/v1/deposit/history
deposithistory
deposit_history 5 params → 200400
GET
/api/v1/nextNonce
nextNonce
nextNonce 2 params → 200400
POST
/api/v1/sendTx
sendTx
sendTx body → 200400
POST
/api/v1/sendTxBatch
sendTxBatch
sendTxBatch body → 200400
GET
/api/v1/transfer/history
transferhistory
transfer_history 4 params → 200400
GET
/api/v1/tx
tx
tx 2 params → 200400
GET
/api/v1/txFromL1TxHash
txFromL1TxHash
txFromL1TxHash 1 param → 200400
GET
/api/v1/txs
txs
txs 2 params → 200400
GET
/api/v1/withdraw/history
withdrawhistory
withdraw_history 4 params → 200400
POST
/api/v1/setAccountMetadata
setAccountMetadata
setAccountMetadata 1 param body → 200400

Schemas 16

The contract defines 16 schemas that model the data the API accepts and returns. The most detailed are EnrichedTx (21 properties), Tx (17 properties), TransferHistoryItem (13 properties), WithdrawHistoryItem (7 properties). Each schema is shown below with its type and property counts.

ReqSetAccountMetadata
object
5 properties 4 required
DepositHistoryItem
object
6 properties 6 required
Txs
object
3 properties 2 required
RespSendTxBatch
object
5 properties 4 required
ReqSendTx
object
3 properties 2 required
ResultCode
object
2 properties 1 required
Tx
object
17 properties 17 required
WithdrawHistoryItem
object
7 properties 7 required
ReqSendTxBatch
object
2 properties 2 required
TransferHistoryItem
object
13 properties 13 required
TransferHistory
object
4 properties 3 required
RespSendTx
object
5 properties 4 required
EnrichedTx
object
21 properties 20 required
NextNonce
object
3 properties 2 required
WithdrawHistory
object
4 properties 3 required
DepositHistory
object
4 properties 3 required

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

lighter-transaction-api-openapi.yml Raw ↑

Other APIs Lighter publishes across the network.

Lighter account API
Lighter announcement API
Lighter block API
Lighter bridge API
Lighter candlestick API
Lighter funding API
Lighter info API
Lighter notification API
Lighter order API
Lighter referral API
Lighter root API
Lighter tokenlist API
Where this information came from

This is an independent, third-party profile of Lighter transaction API, published by API Evangelist. We do not operate, host, resell, or support these APIs, and we are not affiliated with or endorsed by the company unless stated above. Everything here is built from publicly available information — the company's own site, developer portal, documentation, public repositories, and the specifications it publishes for public use. Nothing is obtained by breaching a system, defeating an access control, or using credentials.

The Kin Score and Agent Readiness rating are independently calculated assessments of a company's public API artifacts, scored against a published rubric. They are not certifications, endorsements, security assessments, or audits.

Corrections, re-scores, and removal are free — no partnership or purchase required, and you do not need to justify the request. A removed company is recorded as unrated, never scored zero for having asked. Acknowledgement within one business day; removal within two.

info@apievangelist.com · Read the full data-sourcing policy →
On a security or compliance team? Put security in the subject line and you will get a person, not a form — we will tell you exactly which public URLs this profile was built from.