{"openapi":"3.1.0","info":{"title":"OpenAPI Hub API","version":"2026-09-12","description":"Registry-derived contract for 57 currently executable, read-only provider routes. Upstream availability and latency are not an SLA."},"servers":[{"url":"https://openapihub.dev"}],"paths":{"/run/lighter/":{"get":{"operationId":"lighter_get","summary":"Exchange status, network ID, and current server Unix timestamp.","tags":["lighter"],"security":[{"HubKey":[]}],"parameters":[],"responses":{"200":{"description":"Successful provider response in the OpenAPI Hub envelope.","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/ExecutionEnvelope"},{"type":"object","properties":{"data":{"type":"object","additionalProperties":true}}}]}}}},"400":{"description":"Invalid request body or parameters.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"401":{"description":"Missing or invalid X-Hub-Key.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"404":{"description":"Source or executable route not found.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"429":{"description":"Hub admission or account quota limit reached.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"502":{"description":"Upstream provider or transport failure.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"503":{"description":"Key, control, or source state unavailable.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}}},"x-api-hub-provider":"lighter","x-api-hub-read-only":true,"x-api-hub-cost":{"model":"free","weight":0,"rate_limit_class":"standard"},"x-api-hub-billing-type":"free"}},"/run/lighter/info":{"get":{"operationId":"lighter_get_info","summary":"L1 zkLighter settlement smart contract address.","tags":["lighter"],"security":[{"HubKey":[]}],"parameters":[],"responses":{"200":{"description":"Successful provider response in the OpenAPI Hub envelope.","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/ExecutionEnvelope"},{"type":"object","properties":{"data":{"type":"object","additionalProperties":true}}}]}}}},"400":{"description":"Invalid request body or parameters.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"401":{"description":"Missing or invalid X-Hub-Key.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"404":{"description":"Source or executable route not found.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"429":{"description":"Hub admission or account quota limit reached.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"502":{"description":"Upstream provider or transport failure.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"503":{"description":"Key, control, or source state unavailable.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}}},"x-api-hub-provider":"lighter","x-api-hub-read-only":true,"x-api-hub-cost":{"model":"free","weight":0,"rate_limit_class":"standard"},"x-api-hub-billing-type":"free"}},"/run/lighter/api/v1/systemConfig":{"get":{"operationId":"lighter_get_api_v1_systemconfig","summary":"Protocol configuration including liquidity pool and staking pool account indexes.","tags":["lighter"],"security":[{"HubKey":[]}],"parameters":[],"responses":{"200":{"description":"Successful provider response in the OpenAPI Hub envelope.","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/ExecutionEnvelope"},{"type":"object","properties":{"data":{"type":"object","additionalProperties":true}}}]}}}},"400":{"description":"Invalid request body or parameters.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"401":{"description":"Missing or invalid X-Hub-Key.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"404":{"description":"Source or executable route not found.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"429":{"description":"Hub admission or account quota limit reached.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"502":{"description":"Upstream provider or transport failure.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"503":{"description":"Key, control, or source state unavailable.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}}},"x-api-hub-provider":"lighter","x-api-hub-read-only":true,"x-api-hub-cost":{"model":"free","weight":0,"rate_limit_class":"standard"},"x-api-hub-billing-type":"free"}},"/run/lighter/api/v1/announcement":{"get":{"operationId":"lighter_get_api_v1_announcement","summary":"Active platform announcements, maintenance notices, and market events.","tags":["lighter"],"security":[{"HubKey":[]}],"parameters":[],"responses":{"200":{"description":"Successful provider response in the OpenAPI Hub envelope.","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/ExecutionEnvelope"},{"type":"object","properties":{"data":{"type":"object","additionalProperties":true}}}]}}}},"400":{"description":"Invalid request body or parameters.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"401":{"description":"Missing or invalid X-Hub-Key.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"404":{"description":"Source or executable route not found.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"429":{"description":"Hub admission or account quota limit reached.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"502":{"description":"Upstream provider or transport failure.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"503":{"description":"Key, control, or source state unavailable.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}}},"x-api-hub-provider":"lighter","x-api-hub-read-only":true,"x-api-hub-cost":{"model":"free","weight":0,"rate_limit_class":"standard"},"x-api-hub-billing-type":"free"}},"/run/lighter/api/v1/tokenlist":{"get":{"operationId":"lighter_get_api_v1_tokenlist","summary":"Full catalog of listed crypto, equity, and RWA tokens with metadata and icons.","tags":["lighter"],"security":[{"HubKey":[]}],"parameters":[],"responses":{"200":{"description":"Successful provider response in the OpenAPI Hub envelope.","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/ExecutionEnvelope"},{"type":"object","properties":{"data":{"type":"object","additionalProperties":true}}}]}}}},"400":{"description":"Invalid request body or parameters.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"401":{"description":"Missing or invalid X-Hub-Key.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"404":{"description":"Source or executable route not found.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"429":{"description":"Hub admission or account quota limit reached.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"502":{"description":"Upstream provider or transport failure.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"503":{"description":"Key, control, or source state unavailable.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}}},"x-api-hub-provider":"lighter","x-api-hub-read-only":true,"x-api-hub-cost":{"model":"free","weight":0,"rate_limit_class":"standard"},"x-api-hub-billing-type":"free"}},"/run/lighter/api/v1/assetDetails":{"get":{"operationId":"lighter_get_api_v1_assetdetails","summary":"Collateral and spot asset specifications including decimals, margin modes, and caps.","tags":["lighter"],"security":[{"HubKey":[]}],"parameters":[{"name":"asset_id","in":"query","required":false,"schema":{"type":"integer"},"description":"Filter to a single asset ID; omit for all."}],"responses":{"200":{"description":"Successful provider response in the OpenAPI Hub envelope.","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/ExecutionEnvelope"},{"type":"object","properties":{"data":{"type":"object","additionalProperties":true}}}]}}}},"400":{"description":"Invalid request body or parameters.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"401":{"description":"Missing or invalid X-Hub-Key.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"404":{"description":"Source or executable route not found.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"429":{"description":"Hub admission or account quota limit reached.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"502":{"description":"Upstream provider or transport failure.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"503":{"description":"Key, control, or source state unavailable.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}}},"x-api-hub-provider":"lighter","x-api-hub-read-only":true,"x-api-hub-cost":{"model":"free","weight":0,"rate_limit_class":"standard"},"x-api-hub-billing-type":"free"}},"/run/lighter/api/v1/feeTiers":{"get":{"operationId":"lighter_get_api_v1_feetiers","summary":"Maker and taker fee tier schedule across standard and premium account levels.","tags":["lighter"],"security":[{"HubKey":[]}],"parameters":[{"name":"filter","in":"query","required":false,"schema":{"type":"string"},"description":"Tier filter (e.g. all).","example":"all"}],"responses":{"200":{"description":"Successful provider response in the OpenAPI Hub envelope.","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/ExecutionEnvelope"},{"type":"object","properties":{"data":{"type":"object","additionalProperties":true}}}]}}}},"400":{"description":"Invalid request body or parameters.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"401":{"description":"Missing or invalid X-Hub-Key.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"404":{"description":"Source or executable route not found.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"429":{"description":"Hub admission or account quota limit reached.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"502":{"description":"Upstream provider or transport failure.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"503":{"description":"Key, control, or source state unavailable.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}}},"x-api-hub-provider":"lighter","x-api-hub-read-only":true,"x-api-hub-cost":{"model":"free","weight":0,"rate_limit_class":"standard"},"x-api-hub-billing-type":"free"}},"/run/lighter/api/v1/layer1BasicInfo":{"get":{"operationId":"lighter_get_api_v1_layer1basicinfo","summary":"Connected L1 Ethereum network provider status and chain IDs.","tags":["lighter"],"security":[{"HubKey":[]}],"parameters":[],"responses":{"200":{"description":"Successful provider response in the OpenAPI Hub envelope.","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/ExecutionEnvelope"},{"type":"object","properties":{"data":{"type":"object","additionalProperties":true}}}]}}}},"400":{"description":"Invalid request body or parameters.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"401":{"description":"Missing or invalid X-Hub-Key.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"404":{"description":"Source or executable route not found.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"429":{"description":"Hub admission or account quota limit reached.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"502":{"description":"Upstream provider or transport failure.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"503":{"description":"Key, control, or source state unavailable.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}}},"x-api-hub-provider":"lighter","x-api-hub-read-only":true,"x-api-hub-cost":{"model":"free","weight":0,"rate_limit_class":"standard"},"x-api-hub-billing-type":"free"}},"/run/lighter/api/v1/withdrawalDelay":{"get":{"operationId":"lighter_get_api_v1_withdrawaldelay","summary":"Current L2-to-L1 withdrawal finalization delay in seconds.","tags":["lighter"],"security":[{"HubKey":[]}],"parameters":[],"responses":{"200":{"description":"Successful provider response in the OpenAPI Hub envelope.","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/ExecutionEnvelope"},{"type":"object","properties":{"data":{"type":"object","additionalProperties":true}}}]}}}},"400":{"description":"Invalid request body or parameters.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"401":{"description":"Missing or invalid X-Hub-Key.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"404":{"description":"Source or executable route not found.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"429":{"description":"Hub admission or account quota limit reached.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"502":{"description":"Upstream provider or transport failure.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"503":{"description":"Key, control, or source state unavailable.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}}},"x-api-hub-provider":"lighter","x-api-hub-read-only":true,"x-api-hub-cost":{"model":"free","weight":0,"rate_limit_class":"standard"},"x-api-hub-billing-type":"free"}},"/run/lighter/api/v1/deposit/networks":{"get":{"operationId":"lighter_get_api_v1_deposit_networks","summary":"Supported cross-chain deposit networks with chain IDs and explorer links.","tags":["lighter"],"security":[{"HubKey":[]}],"parameters":[],"responses":{"200":{"description":"Successful provider response in the OpenAPI Hub envelope.","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/ExecutionEnvelope"},{"type":"object","properties":{"data":{"type":"object","additionalProperties":true}}}]}}}},"400":{"description":"Invalid request body or parameters.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"401":{"description":"Missing or invalid X-Hub-Key.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"404":{"description":"Source or executable route not found.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"429":{"description":"Hub admission or account quota limit reached.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"502":{"description":"Upstream provider or transport failure.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"503":{"description":"Key, control, or source state unavailable.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}}},"x-api-hub-provider":"lighter","x-api-hub-read-only":true,"x-api-hub-cost":{"model":"free","weight":0,"rate_limit_class":"standard"},"x-api-hub-billing-type":"free"}},"/run/lighter/api/v1/fastbridge/info":{"get":{"operationId":"lighter_get_api_v1_fastbridge_info","summary":"Fast-bridge liquidity limit and availability status.","tags":["lighter"],"security":[{"HubKey":[]}],"parameters":[],"responses":{"200":{"description":"Successful provider response in the OpenAPI Hub envelope.","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/ExecutionEnvelope"},{"type":"object","properties":{"data":{"type":"object","additionalProperties":true}}}]}}}},"400":{"description":"Invalid request body or parameters.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"401":{"description":"Missing or invalid X-Hub-Key.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"404":{"description":"Source or executable route not found.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"429":{"description":"Hub admission or account quota limit reached.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"502":{"description":"Upstream provider or transport failure.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"503":{"description":"Key, control, or source state unavailable.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}}},"x-api-hub-provider":"lighter","x-api-hub-read-only":true,"x-api-hub-cost":{"model":"free","weight":0,"rate_limit_class":"standard"},"x-api-hub-billing-type":"free"}},"/run/lighter/api/v1/leaseOptions":{"get":{"operationId":"lighter_get_api_v1_leaseoptions","summary":"Available LIT token lease durations and annualized rates.","tags":["lighter"],"security":[{"HubKey":[]}],"parameters":[],"responses":{"200":{"description":"Successful provider response in the OpenAPI Hub envelope.","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/ExecutionEnvelope"},{"type":"object","properties":{"data":{"type":"object","additionalProperties":true}}}]}}}},"400":{"description":"Invalid request body or parameters.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"401":{"description":"Missing or invalid X-Hub-Key.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"404":{"description":"Source or executable route not found.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"429":{"description":"Hub admission or account quota limit reached.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"502":{"description":"Upstream provider or transport failure.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"503":{"description":"Key, control, or source state unavailable.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}}},"x-api-hub-provider":"lighter","x-api-hub-read-only":true,"x-api-hub-cost":{"model":"free","weight":0,"rate_limit_class":"standard"},"x-api-hub-billing-type":"free"}},"/run/lighter/api/v1/orderBooks":{"get":{"operationId":"lighter_get_api_v1_orderbooks","summary":"All perpetual, spot, and prediction order books with market IDs, fees, and precision.","tags":["lighter"],"security":[{"HubKey":[]}],"parameters":[{"name":"market_id","in":"query","required":false,"schema":{"type":"integer"},"description":"Optional single market ID."},{"name":"filter","in":"query","required":false,"schema":{"type":"string"},"description":"Optional market type filter (all, perp, spot)."}],"responses":{"200":{"description":"Successful provider response in the OpenAPI Hub envelope.","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/ExecutionEnvelope"},{"type":"object","properties":{"data":{"type":"object","additionalProperties":true}}}]}}}},"400":{"description":"Invalid request body or parameters.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"401":{"description":"Missing or invalid X-Hub-Key.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"404":{"description":"Source or executable route not found.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"429":{"description":"Hub admission or account quota limit reached.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"502":{"description":"Upstream provider or transport failure.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"503":{"description":"Key, control, or source state unavailable.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}}},"x-api-hub-provider":"lighter","x-api-hub-read-only":true,"x-api-hub-cost":{"model":"free","weight":0,"rate_limit_class":"standard"},"x-api-hub-billing-type":"free"}},"/run/lighter/api/v1/orderBookDetails":{"get":{"operationId":"lighter_get_api_v1_orderbookdetails","summary":"Detailed market specifications, mark/last prices, 24h volume, OI, and margin parameters.","tags":["lighter"],"security":[{"HubKey":[]}],"parameters":[{"name":"market_id","in":"query","required":false,"schema":{"type":"integer","minimum":0},"description":"Market ID (0 = ETH); omit for all.","example":0},{"name":"filter","in":"query","required":false,"schema":{"type":"string"},"description":"Optional filter (all, perp, spot)."}],"responses":{"200":{"description":"Successful provider response in the OpenAPI Hub envelope.","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/ExecutionEnvelope"},{"type":"object","properties":{"data":{"type":"object","additionalProperties":true}}}]}}}},"400":{"description":"Invalid request body or parameters.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"401":{"description":"Missing or invalid X-Hub-Key.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"404":{"description":"Source or executable route not found.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"429":{"description":"Hub admission or account quota limit reached.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"502":{"description":"Upstream provider or transport failure.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"503":{"description":"Key, control, or source state unavailable.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}}},"x-api-hub-provider":"lighter","x-api-hub-read-only":true,"x-api-hub-cost":{"model":"free","weight":0,"rate_limit_class":"standard"},"x-api-hub-billing-type":"free"}},"/run/lighter/api/v1/orderBookOrders":{"get":{"operationId":"lighter_get_api_v1_orderbookorders","summary":"Active order book bids and asks for a market.","tags":["lighter"],"security":[{"HubKey":[]}],"parameters":[{"name":"market_id","in":"query","required":true,"schema":{"type":"integer","minimum":0},"description":"Market ID (0 = ETH).","example":0},{"name":"limit","in":"query","required":true,"schema":{"type":"integer","minimum":1,"maximum":250},"description":"Max orders per side (1..250).","example":5}],"responses":{"200":{"description":"Successful provider response in the OpenAPI Hub envelope.","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/ExecutionEnvelope"},{"type":"object","properties":{"data":{"type":"object","additionalProperties":true}}}]}}}},"400":{"description":"Invalid request body or parameters.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"401":{"description":"Missing or invalid X-Hub-Key.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"404":{"description":"Source or executable route not found.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"429":{"description":"Hub admission or account quota limit reached.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"502":{"description":"Upstream provider or transport failure.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"503":{"description":"Key, control, or source state unavailable.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}}},"x-api-hub-provider":"lighter","x-api-hub-read-only":true,"x-api-hub-cost":{"model":"free","weight":0,"rate_limit_class":"standard"},"x-api-hub-billing-type":"free"}},"/run/lighter/api/v1/recentTrades":{"get":{"operationId":"lighter_get_api_v1_recenttrades","summary":"Most recent executed trades for a market.","tags":["lighter"],"security":[{"HubKey":[]}],"parameters":[{"name":"market_id","in":"query","required":true,"schema":{"type":"integer","minimum":0},"description":"Market ID (0 = ETH).","example":0},{"name":"limit","in":"query","required":true,"schema":{"type":"integer","minimum":1,"maximum":100},"description":"Number of trades (1..100).","example":5}],"responses":{"200":{"description":"Successful provider response in the OpenAPI Hub envelope.","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/ExecutionEnvelope"},{"type":"object","properties":{"data":{"type":"object","additionalProperties":true}}}]}}}},"400":{"description":"Invalid request body or parameters.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"401":{"description":"Missing or invalid X-Hub-Key.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"404":{"description":"Source or executable route not found.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"429":{"description":"Hub admission or account quota limit reached.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"502":{"description":"Upstream provider or transport failure.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"503":{"description":"Key, control, or source state unavailable.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}}},"x-api-hub-provider":"lighter","x-api-hub-read-only":true,"x-api-hub-cost":{"model":"free","weight":0,"rate_limit_class":"standard"},"x-api-hub-billing-type":"free"}},"/run/lighter/api/v1/trades":{"get":{"operationId":"lighter_get_api_v1_trades","summary":"Cursor-paginated public trade history for a market.","tags":["lighter"],"security":[{"HubKey":[]}],"parameters":[{"name":"market_id","in":"query","required":false,"schema":{"type":"integer","minimum":0},"description":"Market ID (0 = ETH).","example":0},{"name":"sort_by","in":"query","required":true,"schema":{"type":"string"},"description":"Sort field (timestamp, trade_id).","example":"timestamp"},{"name":"sort_dir","in":"query","required":false,"schema":{"type":"string"},"description":"Sort direction (asc, desc)."},{"name":"cursor","in":"query","required":false,"schema":{"type":"string"},"description":"Pagination cursor from previous response."},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","minimum":1,"maximum":100},"description":"Number of trades (1..100).","example":5}],"responses":{"200":{"description":"Successful provider response in the OpenAPI Hub envelope.","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/ExecutionEnvelope"},{"type":"object","properties":{"data":{"type":"object","additionalProperties":true}}}]}}}},"400":{"description":"Invalid request body or parameters.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"401":{"description":"Missing or invalid X-Hub-Key.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"404":{"description":"Source or executable route not found.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"429":{"description":"Hub admission or account quota limit reached.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"502":{"description":"Upstream provider or transport failure.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"503":{"description":"Key, control, or source state unavailable.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}}},"x-api-hub-provider":"lighter","x-api-hub-read-only":true,"x-api-hub-cost":{"model":"free","weight":0,"rate_limit_class":"standard"},"x-api-hub-billing-type":"free"}},"/run/lighter/api/v1/candles":{"get":{"operationId":"lighter_get_api_v1_candles","summary":"Historical trade OHLCV candlesticks for a market and resolution.","tags":["lighter"],"security":[{"HubKey":[]}],"parameters":[{"name":"market_id","in":"query","required":true,"schema":{"type":"integer","minimum":0},"description":"Market ID (0 = ETH).","example":0},{"name":"resolution","in":"query","required":true,"schema":{"type":"string","enum":["1m","5m","15m","1h","4h","12h","1d","1w"]},"description":"Candle resolution.","example":"1h"},{"name":"start_timestamp","in":"query","required":true,"schema":{"type":"integer"},"description":"Start Unix timestamp in seconds.","example":1795796508},{"name":"end_timestamp","in":"query","required":true,"schema":{"type":"integer"},"description":"End Unix timestamp in seconds.","example":1795882908},{"name":"count_back","in":"query","required":true,"schema":{"type":"integer","minimum":1},"description":"Number of bars to return.","example":5},{"name":"set_timestamp_to_end","in":"query","required":false,"schema":{"type":"boolean"},"description":"Align timestamps to candle close."}],"responses":{"200":{"description":"Successful provider response in the OpenAPI Hub envelope.","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/ExecutionEnvelope"},{"type":"object","properties":{"data":{"type":"object","additionalProperties":true}}}]}}}},"400":{"description":"Invalid request body or parameters.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"401":{"description":"Missing or invalid X-Hub-Key.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"404":{"description":"Source or executable route not found.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"429":{"description":"Hub admission or account quota limit reached.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"502":{"description":"Upstream provider or transport failure.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"503":{"description":"Key, control, or source state unavailable.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}}},"x-api-hub-provider":"lighter","x-api-hub-read-only":true,"x-api-hub-cost":{"model":"free","weight":0,"rate_limit_class":"standard"},"x-api-hub-billing-type":"free"}},"/run/lighter/api/v1/markPriceCandles":{"get":{"operationId":"lighter_get_api_v1_markpricecandles","summary":"Historical mark-price OHLCV candlesticks for a market and resolution.","tags":["lighter"],"security":[{"HubKey":[]}],"parameters":[{"name":"market_id","in":"query","required":true,"schema":{"type":"integer","minimum":0},"description":"Market ID (0 = ETH).","example":0},{"name":"resolution","in":"query","required":true,"schema":{"type":"string","enum":["1m","5m","15m","1h","4h","12h","1d","1w"]},"description":"Candle resolution.","example":"1h"},{"name":"start_timestamp","in":"query","required":true,"schema":{"type":"integer"},"description":"Start Unix timestamp in seconds.","example":1795796508},{"name":"end_timestamp","in":"query","required":true,"schema":{"type":"integer"},"description":"End Unix timestamp in seconds.","example":1795882908},{"name":"count_back","in":"query","required":true,"schema":{"type":"integer","minimum":1},"description":"Number of bars to return.","example":5}],"responses":{"200":{"description":"Successful provider response in the OpenAPI Hub envelope.","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/ExecutionEnvelope"},{"type":"object","properties":{"data":{"type":"object","additionalProperties":true}}}]}}}},"400":{"description":"Invalid request body or parameters.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"401":{"description":"Missing or invalid X-Hub-Key.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"404":{"description":"Source or executable route not found.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"429":{"description":"Hub admission or account quota limit reached.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"502":{"description":"Upstream provider or transport failure.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"503":{"description":"Key, control, or source state unavailable.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}}},"x-api-hub-provider":"lighter","x-api-hub-read-only":true,"x-api-hub-cost":{"model":"free","weight":0,"rate_limit_class":"standard"},"x-api-hub-billing-type":"free"}},"/run/lighter/api/v1/marketPriceCharts":{"get":{"operationId":"lighter_get_api_v1_marketpricecharts","summary":"Compact hourly price sparkline series for one or more markets.","tags":["lighter"],"security":[{"HubKey":[]}],"parameters":[{"name":"market_ids","in":"query","required":false,"schema":{"type":"string"},"description":"Comma-separated market IDs.","example":"0,1"}],"responses":{"200":{"description":"Successful provider response in the OpenAPI Hub envelope.","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/ExecutionEnvelope"},{"type":"object","properties":{"data":{"type":"object","additionalProperties":true}}}]}}}},"400":{"description":"Invalid request body or parameters.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"401":{"description":"Missing or invalid X-Hub-Key.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"404":{"description":"Source or executable route not found.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"429":{"description":"Hub admission or account quota limit reached.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"502":{"description":"Upstream provider or transport failure.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"503":{"description":"Key, control, or source state unavailable.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}}},"x-api-hub-provider":"lighter","x-api-hub-read-only":true,"x-api-hub-cost":{"model":"free","weight":0,"rate_limit_class":"standard"},"x-api-hub-billing-type":"free"}},"/run/lighter/api/v1/upDownCandles":{"get":{"operationId":"lighter_get_api_v1_updowncandles","summary":"High-resolution candles for short-duration Up/Down prediction markets.","tags":["lighter"],"security":[{"HubKey":[]}],"parameters":[{"name":"symbol","in":"query","required":true,"schema":{"type":"string"},"description":"Underlying symbol (e.g. ETH, BTC).","example":"ETH"},{"name":"duration","in":"query","required":true,"schema":{"type":"string"},"description":"Round duration (e.g. 15m, 1h).","example":"15m"},{"name":"resolution","in":"query","required":false,"schema":{"type":"string"},"description":"Sub-candle resolution (e.g. 1s)."},{"name":"start_timestamp","in":"query","required":true,"schema":{"type":"integer"},"description":"Start Unix timestamp in seconds.","example":1795796508},{"name":"end_timestamp","in":"query","required":true,"schema":{"type":"integer"},"description":"End Unix timestamp in seconds.","example":1795882908},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","minimum":1},"description":"Max candles.","example":5}],"responses":{"200":{"description":"Successful provider response in the OpenAPI Hub envelope.","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/ExecutionEnvelope"},{"type":"object","properties":{"data":{"type":"object","additionalProperties":true}}}]}}}},"400":{"description":"Invalid request body or parameters.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"401":{"description":"Missing or invalid X-Hub-Key.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"404":{"description":"Source or executable route not found.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"429":{"description":"Hub admission or account quota limit reached.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"502":{"description":"Upstream provider or transport failure.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"503":{"description":"Key, control, or source state unavailable.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}}},"x-api-hub-provider":"lighter","x-api-hub-read-only":true,"x-api-hub-cost":{"model":"free","weight":0,"rate_limit_class":"standard"},"x-api-hub-billing-type":"free"}},"/run/lighter/api/v1/funding-rates":{"get":{"operationId":"lighter_get_api_v1_funding_rates","summary":"Current funding rates across Lighter and peer venues (Binance, Bybit, Hyperliquid).","tags":["lighter"],"security":[{"HubKey":[]}],"parameters":[],"responses":{"200":{"description":"Successful provider response in the OpenAPI Hub envelope.","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/ExecutionEnvelope"},{"type":"object","properties":{"data":{"type":"object","additionalProperties":true}}}]}}}},"400":{"description":"Invalid request body or parameters.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"401":{"description":"Missing or invalid X-Hub-Key.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"404":{"description":"Source or executable route not found.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"429":{"description":"Hub admission or account quota limit reached.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"502":{"description":"Upstream provider or transport failure.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"503":{"description":"Key, control, or source state unavailable.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}}},"x-api-hub-provider":"lighter","x-api-hub-read-only":true,"x-api-hub-cost":{"model":"free","weight":0,"rate_limit_class":"standard"},"x-api-hub-billing-type":"free"}},"/run/lighter/api/v1/fundings":{"get":{"operationId":"lighter_get_api_v1_fundings","summary":"Historical hourly or daily settled funding rates for a market.","tags":["lighter"],"security":[{"HubKey":[]}],"parameters":[{"name":"market_id","in":"query","required":true,"schema":{"type":"integer","minimum":0},"description":"Market ID (0 = ETH).","example":0},{"name":"resolution","in":"query","required":true,"schema":{"type":"string","enum":["1h","1d"]},"description":"Funding resolution (1h or 1d).","example":"1h"},{"name":"start_timestamp","in":"query","required":true,"schema":{"type":"integer"},"description":"Start Unix timestamp in seconds.","example":1795796508},{"name":"end_timestamp","in":"query","required":true,"schema":{"type":"integer"},"description":"End Unix timestamp in seconds.","example":1795882908},{"name":"count_back","in":"query","required":true,"schema":{"type":"integer","minimum":1},"description":"Number of intervals.","example":5}],"responses":{"200":{"description":"Successful provider response in the OpenAPI Hub envelope.","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/ExecutionEnvelope"},{"type":"object","properties":{"data":{"type":"object","additionalProperties":true}}}]}}}},"400":{"description":"Invalid request body or parameters.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"401":{"description":"Missing or invalid X-Hub-Key.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"404":{"description":"Source or executable route not found.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"429":{"description":"Hub admission or account quota limit reached.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"502":{"description":"Upstream provider or transport failure.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"503":{"description":"Key, control, or source state unavailable.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}}},"x-api-hub-provider":"lighter","x-api-hub-read-only":true,"x-api-hub-cost":{"model":"free","weight":0,"rate_limit_class":"standard"},"x-api-hub-billing-type":"free"}},"/run/lighter/api/v1/priceOracleInfo":{"get":{"operationId":"lighter_get_api_v1_priceoracleinfo","summary":"Oracle reference feed sources and pre-market status for a symbol.","tags":["lighter"],"security":[{"HubKey":[]}],"parameters":[{"name":"symbol","in":"query","required":false,"schema":{"type":"string"},"description":"Market symbol (e.g. ETH); omit for all.","example":"ETH"}],"responses":{"200":{"description":"Successful provider response in the OpenAPI Hub envelope.","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/ExecutionEnvelope"},{"type":"object","properties":{"data":{"type":"object","additionalProperties":true}}}]}}}},"400":{"description":"Invalid request body or parameters.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"401":{"description":"Missing or invalid X-Hub-Key.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"404":{"description":"Source or executable route not found.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"429":{"description":"Hub admission or account quota limit reached.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"502":{"description":"Upstream provider or transport failure.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"503":{"description":"Key, control, or source state unavailable.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}}},"x-api-hub-provider":"lighter","x-api-hub-read-only":true,"x-api-hub-cost":{"model":"free","weight":0,"rate_limit_class":"standard"},"x-api-hub-billing-type":"free"}},"/run/lighter/api/v1/stockFinancials":{"get":{"operationId":"lighter_get_api_v1_stockfinancials","summary":"Company profile, valuation, and financial fundamentals for equity/RWA perpetual markets.","tags":["lighter"],"security":[{"HubKey":[]}],"parameters":[{"name":"market_id","in":"query","required":true,"schema":{"type":"integer","minimum":0},"description":"Equity perp market ID (110 = NVDA).","example":110},{"name":"fields","in":"query","required":false,"schema":{"type":"string"},"description":"Optional comma-separated financial fields subset."}],"responses":{"200":{"description":"Successful provider response in the OpenAPI Hub envelope.","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/ExecutionEnvelope"},{"type":"object","properties":{"data":{"type":"object","additionalProperties":true}}}]}}}},"400":{"description":"Invalid request body or parameters.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"401":{"description":"Missing or invalid X-Hub-Key.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"404":{"description":"Source or executable route not found.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"429":{"description":"Hub admission or account quota limit reached.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"502":{"description":"Upstream provider or transport failure.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"503":{"description":"Key, control, or source state unavailable.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}}},"x-api-hub-provider":"lighter","x-api-hub-read-only":true,"x-api-hub-cost":{"model":"free","weight":0,"rate_limit_class":"standard"},"x-api-hub-billing-type":"free"}},"/run/lighter/api/v1/upcomingEarnings":{"get":{"operationId":"lighter_get_api_v1_upcomingearnings","summary":"Upcoming corporate earnings release calendar for listed equity perpetuals.","tags":["lighter"],"security":[{"HubKey":[]}],"parameters":[],"responses":{"200":{"description":"Successful provider response in the OpenAPI Hub envelope.","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/ExecutionEnvelope"},{"type":"object","properties":{"data":{"type":"object","additionalProperties":true}}}]}}}},"400":{"description":"Invalid request body or parameters.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"401":{"description":"Missing or invalid X-Hub-Key.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"404":{"description":"Source or executable route not found.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"429":{"description":"Hub admission or account quota limit reached.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"502":{"description":"Upstream provider or transport failure.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"503":{"description":"Key, control, or source state unavailable.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}}},"x-api-hub-provider":"lighter","x-api-hub-read-only":true,"x-api-hub-cost":{"model":"free","weight":0,"rate_limit_class":"standard"},"x-api-hub-billing-type":"free"}},"/run/lighter/api/v1/market-news":{"get":{"operationId":"lighter_get_api_v1_market_news","summary":"Curated market news feed for a listed crypto or equity symbol.","tags":["lighter"],"security":[{"HubKey":[]}],"parameters":[{"name":"symbol","in":"query","required":false,"schema":{"type":"string"},"description":"Market symbol (e.g. NVDA, ETH).","example":"NVDA"}],"responses":{"200":{"description":"Successful provider response in the OpenAPI Hub envelope.","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/ExecutionEnvelope"},{"type":"object","properties":{"data":{"type":"object","additionalProperties":true}}}]}}}},"400":{"description":"Invalid request body or parameters.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"401":{"description":"Missing or invalid X-Hub-Key.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"404":{"description":"Source or executable route not found.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"429":{"description":"Hub admission or account quota limit reached.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"502":{"description":"Upstream provider or transport failure.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"503":{"description":"Key, control, or source state unavailable.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}}},"x-api-hub-provider":"lighter","x-api-hub-read-only":true,"x-api-hub-cost":{"model":"free","weight":0,"rate_limit_class":"standard"},"x-api-hub-billing-type":"free"}},"/run/lighter/api/v1/exchangeStats":{"get":{"operationId":"lighter_get_api_v1_exchangestats","summary":"24-hour trade counts, base/quote volumes, and last prices across all markets.","tags":["lighter"],"security":[{"HubKey":[]}],"parameters":[],"responses":{"200":{"description":"Successful provider response in the OpenAPI Hub envelope.","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/ExecutionEnvelope"},{"type":"object","properties":{"data":{"type":"object","additionalProperties":true}}}]}}}},"400":{"description":"Invalid request body or parameters.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"401":{"description":"Missing or invalid X-Hub-Key.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"404":{"description":"Source or executable route not found.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"429":{"description":"Hub admission or account quota limit reached.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"502":{"description":"Upstream provider or transport failure.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"503":{"description":"Key, control, or source state unavailable.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}}},"x-api-hub-provider":"lighter","x-api-hub-read-only":true,"x-api-hub-cost":{"model":"free","weight":0,"rate_limit_class":"standard"},"x-api-hub-billing-type":"free"}},"/run/lighter/api/v1/exchangeMetrics":{"get":{"operationId":"lighter_get_api_v1_exchangemetrics","summary":"Historical protocol-wide time series (volume, fees, OI, TPS, active accounts, buybacks).","tags":["lighter"],"security":[{"HubKey":[]}],"parameters":[{"name":"period","in":"query","required":true,"schema":{"type":"string","enum":["h","d","w","m","q","y","all"]},"description":"Window period.","example":"w"},{"name":"kind","in":"query","required":true,"schema":{"type":"string","enum":["volume","maker_fee","taker_fee","liquidation_fee","trade_count","liquidation_count","liquidation_volume","inflow","outflow","transfer_fee","withdraw_fee","open_interest","account_count","active_account_count","tps","buyback","buyback_usdc"]},"description":"Metric kind.","example":"volume"},{"name":"filter","in":"query","required":false,"schema":{"type":"string"},"description":"Optional filter (byMarket)."},{"name":"value","in":"query","required":false,"schema":{"type":"string"},"description":"Filter value when filter=byMarket."}],"responses":{"200":{"description":"Successful provider response in the OpenAPI Hub envelope.","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/ExecutionEnvelope"},{"type":"object","properties":{"data":{"type":"object","additionalProperties":true}}}]}}}},"400":{"description":"Invalid request body or parameters.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"401":{"description":"Missing or invalid X-Hub-Key.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"404":{"description":"Source or executable route not found.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"429":{"description":"Hub admission or account quota limit reached.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"502":{"description":"Upstream provider or transport failure.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"503":{"description":"Key, control, or source state unavailable.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}}},"x-api-hub-provider":"lighter","x-api-hub-read-only":true,"x-api-hub-cost":{"model":"free","weight":0,"rate_limit_class":"standard"},"x-api-hub-billing-type":"free"}},"/run/lighter/api/v1/executeStats":{"get":{"operationId":"lighter_get_api_v1_executestats","summary":"Execution quality and slippage comparison between Lighter and major centralized exchanges.","tags":["lighter"],"security":[{"HubKey":[]}],"parameters":[{"name":"period","in":"query","required":true,"schema":{"type":"string","enum":["d","w","m","q","y","all"]},"description":"Window period.","example":"d"}],"responses":{"200":{"description":"Successful provider response in the OpenAPI Hub envelope.","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/ExecutionEnvelope"},{"type":"object","properties":{"data":{"type":"object","additionalProperties":true}}}]}}}},"400":{"description":"Invalid request body or parameters.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"401":{"description":"Missing or invalid X-Hub-Key.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"404":{"description":"Source or executable route not found.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"429":{"description":"Hub admission or account quota limit reached.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"502":{"description":"Upstream provider or transport failure.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"503":{"description":"Key, control, or source state unavailable.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}}},"x-api-hub-provider":"lighter","x-api-hub-read-only":true,"x-api-hub-cost":{"model":"free","weight":0,"rate_limit_class":"standard"},"x-api-hub-billing-type":"free"}},"/run/lighter/api/v1/boExecuteStats":{"get":{"operationId":"lighter_get_api_v1_boexecutestats","summary":"Up/Down prediction market execution statistics and round counts.","tags":["lighter"],"security":[{"HubKey":[]}],"parameters":[{"name":"period","in":"query","required":true,"schema":{"type":"string"},"description":"Window period (e.g. 24h).","example":"24h"}],"responses":{"200":{"description":"Successful provider response in the OpenAPI Hub envelope.","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/ExecutionEnvelope"},{"type":"object","properties":{"data":{"type":"object","additionalProperties":true}}}]}}}},"400":{"description":"Invalid request body or parameters.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"401":{"description":"Missing or invalid X-Hub-Key.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"404":{"description":"Source or executable route not found.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"429":{"description":"Hub admission or account quota limit reached.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"502":{"description":"Upstream provider or transport failure.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"503":{"description":"Key, control, or source state unavailable.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}}},"x-api-hub-provider":"lighter","x-api-hub-read-only":true,"x-api-hub-cost":{"model":"free","weight":0,"rate_limit_class":"standard"},"x-api-hub-billing-type":"free"}},"/run/lighter/api/v1/events":{"get":{"operationId":"lighter_get_api_v1_events","summary":"Active and historical prediction and Up/Down market events.","tags":["lighter"],"security":[{"HubKey":[]}],"parameters":[{"name":"active","in":"query","required":false,"schema":{"type":"boolean"},"description":"Filter active events."},{"name":"cursor","in":"query","required":false,"schema":{"type":"integer"},"description":"Pagination cursor."},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","minimum":1},"description":"Max events.","example":5}],"responses":{"200":{"description":"Successful provider response in the OpenAPI Hub envelope.","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/ExecutionEnvelope"},{"type":"object","properties":{"data":{"type":"object","additionalProperties":true}}}]}}}},"400":{"description":"Invalid request body or parameters.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"401":{"description":"Missing or invalid X-Hub-Key.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"404":{"description":"Source or executable route not found.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"429":{"description":"Hub admission or account quota limit reached.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"502":{"description":"Upstream provider or transport failure.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"503":{"description":"Key, control, or source state unavailable.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}}},"x-api-hub-provider":"lighter","x-api-hub-read-only":true,"x-api-hub-cost":{"model":"free","weight":0,"rate_limit_class":"standard"},"x-api-hub-billing-type":"free"}},"/run/lighter/api/v1/competitions":{"get":{"operationId":"lighter_get_api_v1_competitions","summary":"Trading competitions catalog with schedules, rules, and leaderboard keys.","tags":["lighter"],"security":[{"HubKey":[]}],"parameters":[],"responses":{"200":{"description":"Successful provider response in the OpenAPI Hub envelope.","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/ExecutionEnvelope"},{"type":"object","properties":{"data":{"type":"object","additionalProperties":true}}}]}}}},"400":{"description":"Invalid request body or parameters.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"401":{"description":"Missing or invalid X-Hub-Key.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"404":{"description":"Source or executable route not found.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"429":{"description":"Hub admission or account quota limit reached.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"502":{"description":"Upstream provider or transport failure.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"503":{"description":"Key, control, or source state unavailable.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}}},"x-api-hub-provider":"lighter","x-api-hub-read-only":true,"x-api-hub-cost":{"model":"free","weight":0,"rate_limit_class":"standard"},"x-api-hub-billing-type":"free"}},"/run/lighter/api/v1/publicPoolsMetadata":{"get":{"operationId":"lighter_get_api_v1_publicpoolsmetadata","summary":"Public liquidity and staking pools metadata (LLP, staking pools, user vaults) with TVL and APY.","tags":["lighter"],"security":[{"HubKey":[]}],"parameters":[{"name":"filter","in":"query","required":false,"schema":{"type":"string","enum":["all","user","protocol","account_index","stake"]},"description":"Pool category filter.","example":"protocol"},{"name":"index","in":"query","required":true,"schema":{"type":"integer"},"description":"Starting pool account index.","example":281474976710654},{"name":"limit","in":"query","required":true,"schema":{"type":"integer","minimum":1,"maximum":100},"description":"Max pools (1..100).","example":10},{"name":"account_index","in":"query","required":false,"schema":{"type":"integer"},"description":"Optional account index to check user shares."}],"responses":{"200":{"description":"Successful provider response in the OpenAPI Hub envelope.","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/ExecutionEnvelope"},{"type":"object","properties":{"data":{"type":"object","additionalProperties":true}}}]}}}},"400":{"description":"Invalid request body or parameters.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"401":{"description":"Missing or invalid X-Hub-Key.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"404":{"description":"Source or executable route not found.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"429":{"description":"Hub admission or account quota limit reached.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"502":{"description":"Upstream provider or transport failure.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"503":{"description":"Key, control, or source state unavailable.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}}},"x-api-hub-provider":"lighter","x-api-hub-read-only":true,"x-api-hub-cost":{"model":"free","weight":0,"rate_limit_class":"standard"},"x-api-hub-billing-type":"free"}},"/run/lighter/api/v1/pnlLeaderboard":{"get":{"operationId":"lighter_get_api_v1_pnlleaderboard","summary":"Trader PnL, volume, and ROI leaderboard across selectable time windows.","tags":["lighter"],"security":[{"HubKey":[]}],"parameters":[{"name":"time_window","in":"query","required":true,"schema":{"type":"string","enum":["24h","7d","30d","all"]},"description":"Leaderboard window.","example":"7d"},{"name":"sort_by","in":"query","required":true,"schema":{"type":"string"},"description":"Sort metric (pnl, roi, volume).","example":"pnl"},{"name":"sort_dir","in":"query","required":true,"schema":{"type":"string"},"description":"Sort direction (asc, desc).","example":"desc"},{"name":"limit","in":"query","required":true,"schema":{"type":"integer","minimum":1,"maximum":100},"description":"Rows to return.","example":5},{"name":"offset","in":"query","required":true,"schema":{"type":"integer","minimum":0},"description":"Pagination offset.","example":0},{"name":"search","in":"query","required":false,"schema":{"type":"string"},"description":"Optional trader search string."}],"responses":{"200":{"description":"Successful provider response in the OpenAPI Hub envelope.","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/ExecutionEnvelope"},{"type":"object","properties":{"data":{"type":"object","additionalProperties":true}}}]}}}},"400":{"description":"Invalid request body or parameters.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"401":{"description":"Missing or invalid X-Hub-Key.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"404":{"description":"Source or executable route not found.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"429":{"description":"Hub admission or account quota limit reached.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"502":{"description":"Upstream provider or transport failure.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"503":{"description":"Key, control, or source state unavailable.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}}},"x-api-hub-provider":"lighter","x-api-hub-read-only":true,"x-api-hub-cost":{"model":"free","weight":0,"rate_limit_class":"standard"},"x-api-hub-billing-type":"free"}},"/run/lighter/api/v1/leaderboard":{"get":{"operationId":"lighter_get_api_v1_leaderboard","summary":"Weekly and all-time Lighter points leaderboard.","tags":["lighter"],"security":[{"HubKey":[]}],"parameters":[{"name":"type","in":"query","required":true,"schema":{"type":"string","enum":["weekly","all","competition"]},"description":"Leaderboard type.","example":"weekly"},{"name":"l1_address","in":"query","required":false,"schema":{"type":"string"},"description":"Optional L1 address to highlight."},{"name":"competition_id","in":"query","required":false,"schema":{"type":"string"},"description":"Competition ID when type=competition."}],"responses":{"200":{"description":"Successful provider response in the OpenAPI Hub envelope.","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/ExecutionEnvelope"},{"type":"object","properties":{"data":{"type":"object","additionalProperties":true}}}]}}}},"400":{"description":"Invalid request body or parameters.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"401":{"description":"Missing or invalid X-Hub-Key.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"404":{"description":"Source or executable route not found.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"429":{"description":"Hub admission or account quota limit reached.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"502":{"description":"Upstream provider or transport failure.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"503":{"description":"Key, control, or source state unavailable.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}}},"x-api-hub-provider":"lighter","x-api-hub-read-only":true,"x-api-hub-cost":{"model":"free","weight":0,"rate_limit_class":"standard"},"x-api-hub-billing-type":"free"}},"/run/lighter/api/v1/savingsSummary":{"get":{"operationId":"lighter_get_api_v1_savingssummary","summary":"Aggregate 30-day trading fee savings compared to centralized venues.","tags":["lighter"],"security":[{"HubKey":[]}],"parameters":[],"responses":{"200":{"description":"Successful provider response in the OpenAPI Hub envelope.","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/ExecutionEnvelope"},{"type":"object","properties":{"data":{"type":"object","additionalProperties":true}}}]}}}},"400":{"description":"Invalid request body or parameters.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"401":{"description":"Missing or invalid X-Hub-Key.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"404":{"description":"Source or executable route not found.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"429":{"description":"Hub admission or account quota limit reached.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"502":{"description":"Upstream provider or transport failure.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"503":{"description":"Key, control, or source state unavailable.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}}},"x-api-hub-provider":"lighter","x-api-hub-read-only":true,"x-api-hub-cost":{"model":"free","weight":0,"rate_limit_class":"standard"},"x-api-hub-billing-type":"free"}},"/run/lighter/api/v1/savingsLeaderboard":{"get":{"operationId":"lighter_get_api_v1_savingsleaderboard","summary":"Top traders ranked by fee savings over the trailing window.","tags":["lighter"],"security":[{"HubKey":[]}],"parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer","minimum":1},"description":"Max leaderboard rows.","example":5}],"responses":{"200":{"description":"Successful provider response in the OpenAPI Hub envelope.","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/ExecutionEnvelope"},{"type":"object","properties":{"data":{"type":"object","additionalProperties":true}}}]}}}},"400":{"description":"Invalid request body or parameters.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"401":{"description":"Missing or invalid X-Hub-Key.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"404":{"description":"Source or executable route not found.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"429":{"description":"Hub admission or account quota limit reached.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"502":{"description":"Upstream provider or transport failure.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"503":{"description":"Key, control, or source state unavailable.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}}},"x-api-hub-provider":"lighter","x-api-hub-read-only":true,"x-api-hub-cost":{"model":"free","weight":0,"rate_limit_class":"standard"},"x-api-hub-billing-type":"free"}},"/run/lighter/api/v1/guild/list":{"get":{"operationId":"lighter_get_api_v1_guild_list","summary":"Directory of public Lighter trading guilds.","tags":["lighter"],"security":[{"HubKey":[]}],"parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer","minimum":1},"description":"Max guilds to return.","example":5}],"responses":{"200":{"description":"Successful provider response in the OpenAPI Hub envelope.","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/ExecutionEnvelope"},{"type":"object","properties":{"data":{"type":"object","additionalProperties":true}}}]}}}},"400":{"description":"Invalid request body or parameters.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"401":{"description":"Missing or invalid X-Hub-Key.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"404":{"description":"Source or executable route not found.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"429":{"description":"Hub admission or account quota limit reached.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"502":{"description":"Upstream provider or transport failure.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"503":{"description":"Key, control, or source state unavailable.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}}},"x-api-hub-provider":"lighter","x-api-hub-read-only":true,"x-api-hub-cost":{"model":"free","weight":0,"rate_limit_class":"standard"},"x-api-hub-billing-type":"free"}},"/run/lighter/api/v1/guild":{"get":{"operationId":"lighter_get_api_v1_guild","summary":"Detailed profile, statistics, and member roster for a single trading guild.","tags":["lighter"],"security":[{"HubKey":[]}],"parameters":[{"name":"guild_id","in":"query","required":true,"schema":{"type":"integer","minimum":1},"description":"Guild numeric ID.","example":1}],"responses":{"200":{"description":"Successful provider response in the OpenAPI Hub envelope.","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/ExecutionEnvelope"},{"type":"object","properties":{"data":{"type":"object","additionalProperties":true}}}]}}}},"400":{"description":"Invalid request body or parameters.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"401":{"description":"Missing or invalid X-Hub-Key.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"404":{"description":"Source or executable route not found.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"429":{"description":"Hub admission or account quota limit reached.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"502":{"description":"Upstream provider or transport failure.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"503":{"description":"Key, control, or source state unavailable.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}}},"x-api-hub-provider":"lighter","x-api-hub-read-only":true,"x-api-hub-cost":{"model":"free","weight":0,"rate_limit_class":"standard"},"x-api-hub-billing-type":"free"}},"/run/lighter/api/v1/guild/leaderboard":{"get":{"operationId":"lighter_get_api_v1_guild_leaderboard","summary":"Trading guilds ranked by performance metrics.","tags":["lighter"],"security":[{"HubKey":[]}],"parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer","minimum":1},"description":"Max ranked guilds.","example":5}],"responses":{"200":{"description":"Successful provider response in the OpenAPI Hub envelope.","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/ExecutionEnvelope"},{"type":"object","properties":{"data":{"type":"object","additionalProperties":true}}}]}}}},"400":{"description":"Invalid request body or parameters.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"401":{"description":"Missing or invalid X-Hub-Key.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"404":{"description":"Source or executable route not found.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"429":{"description":"Hub admission or account quota limit reached.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"502":{"description":"Upstream provider or transport failure.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"503":{"description":"Key, control, or source state unavailable.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}}},"x-api-hub-provider":"lighter","x-api-hub-read-only":true,"x-api-hub-cost":{"model":"free","weight":0,"rate_limit_class":"standard"},"x-api-hub-billing-type":"free"}},"/run/lighter/api/v1/guild/duel/metrics":{"get":{"operationId":"lighter_get_api_v1_guild_duel_metrics","summary":"Supported scoring metrics for guild duel competitions.","tags":["lighter"],"security":[{"HubKey":[]}],"parameters":[],"responses":{"200":{"description":"Successful provider response in the OpenAPI Hub envelope.","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/ExecutionEnvelope"},{"type":"object","properties":{"data":{"type":"object","additionalProperties":true}}}]}}}},"400":{"description":"Invalid request body or parameters.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"401":{"description":"Missing or invalid X-Hub-Key.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"404":{"description":"Source or executable route not found.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"429":{"description":"Hub admission or account quota limit reached.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"502":{"description":"Upstream provider or transport failure.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"503":{"description":"Key, control, or source state unavailable.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}}},"x-api-hub-provider":"lighter","x-api-hub-read-only":true,"x-api-hub-cost":{"model":"free","weight":0,"rate_limit_class":"standard"},"x-api-hub-billing-type":"free"}},"/run/lighter/api/v1/account":{"get":{"operationId":"lighter_get_api_v1_account","summary":"Public on-chain account state: collateral, margin, open positions, and pool shares by index or L1 address.","tags":["lighter"],"security":[{"HubKey":[]}],"parameters":[{"name":"by","in":"query","required":true,"schema":{"type":"string","enum":["index","l1_address"]},"description":"Lookup key ('index' or 'l1_address').","example":"index"},{"name":"value","in":"query","required":true,"schema":{"type":"string"},"description":"Account index or 0x L1 Ethereum address.","example":"281474976710654"},{"name":"active_only","in":"query","required":false,"schema":{"type":"boolean"},"description":"Return only active subaccounts."}],"responses":{"200":{"description":"Successful provider response in the OpenAPI Hub envelope.","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/ExecutionEnvelope"},{"type":"object","properties":{"data":{"type":"object","additionalProperties":true}}}]}}}},"400":{"description":"Invalid request body or parameters.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"401":{"description":"Missing or invalid X-Hub-Key.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"404":{"description":"Source or executable route not found.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"429":{"description":"Hub admission or account quota limit reached.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"502":{"description":"Upstream provider or transport failure.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"503":{"description":"Key, control, or source state unavailable.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}}},"x-api-hub-provider":"lighter","x-api-hub-read-only":true,"x-api-hub-cost":{"model":"free","weight":0,"rate_limit_class":"standard"},"x-api-hub-billing-type":"free"}},"/run/lighter/api/v1/accountsByL1Address":{"get":{"operationId":"lighter_get_api_v1_accountsbyl1address","summary":"Resolve all Lighter account and subaccount indexes belonging to an L1 Ethereum address.","tags":["lighter"],"security":[{"HubKey":[]}],"parameters":[{"name":"l1_address","in":"query","required":true,"schema":{"type":"string"},"description":"Ethereum L1 0x address.","example":"0x0000000000000000000000000000000000000000"},{"name":"cursor","in":"query","required":false,"schema":{"type":"string"},"description":"Pagination cursor."}],"responses":{"200":{"description":"Successful provider response in the OpenAPI Hub envelope.","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/ExecutionEnvelope"},{"type":"object","properties":{"data":{"type":"object","additionalProperties":true}}}]}}}},"400":{"description":"Invalid request body or parameters.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"401":{"description":"Missing or invalid X-Hub-Key.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"404":{"description":"Source or executable route not found.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"429":{"description":"Hub admission or account quota limit reached.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"502":{"description":"Upstream provider or transport failure.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"503":{"description":"Key, control, or source state unavailable.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}}},"x-api-hub-provider":"lighter","x-api-hub-read-only":true,"x-api-hub-cost":{"model":"free","weight":0,"rate_limit_class":"standard"},"x-api-hub-billing-type":"free"}},"/run/lighter/api/v1/accountMetadata":{"get":{"operationId":"lighter_get_api_v1_accountmetadata","summary":"Public display name and description metadata for an account or pool.","tags":["lighter"],"security":[{"HubKey":[]}],"parameters":[{"name":"by","in":"query","required":true,"schema":{"type":"string","enum":["index","l1_address"]},"description":"Lookup key ('index' or 'l1_address').","example":"index"},{"name":"value","in":"query","required":true,"schema":{"type":"string"},"description":"Account index or L1 address.","example":"281474976710654"}],"responses":{"200":{"description":"Successful provider response in the OpenAPI Hub envelope.","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/ExecutionEnvelope"},{"type":"object","properties":{"data":{"type":"object","additionalProperties":true}}}]}}}},"400":{"description":"Invalid request body or parameters.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"401":{"description":"Missing or invalid X-Hub-Key.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"404":{"description":"Source or executable route not found.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"429":{"description":"Hub admission or account quota limit reached.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"502":{"description":"Upstream provider or transport failure.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"503":{"description":"Key, control, or source state unavailable.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}}},"x-api-hub-provider":"lighter","x-api-hub-read-only":true,"x-api-hub-cost":{"model":"free","weight":0,"rate_limit_class":"standard"},"x-api-hub-billing-type":"free"}},"/run/lighter/api/v1/nextNonce":{"get":{"operationId":"lighter_get_api_v1_nextnonce","summary":"Next expected L2 transaction nonce for an account and API key index.","tags":["lighter"],"security":[{"HubKey":[]}],"parameters":[{"name":"account_index","in":"query","required":true,"schema":{"type":"integer"},"description":"Account index.","example":281474976710654},{"name":"api_key_index","in":"query","required":true,"schema":{"type":"integer","minimum":0},"description":"API key slot index (0..254).","example":0}],"responses":{"200":{"description":"Successful provider response in the OpenAPI Hub envelope.","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/ExecutionEnvelope"},{"type":"object","properties":{"data":{"type":"object","additionalProperties":true}}}]}}}},"400":{"description":"Invalid request body or parameters.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"401":{"description":"Missing or invalid X-Hub-Key.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"404":{"description":"Source or executable route not found.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"429":{"description":"Hub admission or account quota limit reached.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"502":{"description":"Upstream provider or transport failure.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"503":{"description":"Key, control, or source state unavailable.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}}},"x-api-hub-provider":"lighter","x-api-hub-read-only":true,"x-api-hub-cost":{"model":"free","weight":0,"rate_limit_class":"standard"},"x-api-hub-billing-type":"free"}},"/run/lighter/api/v1/pnl":{"get":{"operationId":"lighter_get_api_v1_pnl","summary":"Public historical PnL time series for an account or public pool.","tags":["lighter"],"security":[{"HubKey":[]}],"parameters":[{"name":"by","in":"query","required":true,"schema":{"type":"string","enum":["index","l1_address"]},"description":"Lookup key ('index' or 'l1_address').","example":"index"},{"name":"value","in":"query","required":true,"schema":{"type":"string"},"description":"Account index or L1 address.","example":"281474976710654"},{"name":"resolution","in":"query","required":true,"schema":{"type":"string","enum":["1m","5m","15m","1h","4h","12h","1d","1w"]},"description":"Series resolution.","example":"1h"},{"name":"start_timestamp","in":"query","required":true,"schema":{"type":"integer"},"description":"Start Unix timestamp in seconds.","example":1795796508},{"name":"end_timestamp","in":"query","required":true,"schema":{"type":"integer"},"description":"End Unix timestamp in seconds.","example":1795882908},{"name":"count_back","in":"query","required":true,"schema":{"type":"integer","minimum":1},"description":"Number of data points.","example":5}],"responses":{"200":{"description":"Successful provider response in the OpenAPI Hub envelope.","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/ExecutionEnvelope"},{"type":"object","properties":{"data":{"type":"object","additionalProperties":true}}}]}}}},"400":{"description":"Invalid request body or parameters.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"401":{"description":"Missing or invalid X-Hub-Key.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"404":{"description":"Source or executable route not found.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"429":{"description":"Hub admission or account quota limit reached.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"502":{"description":"Upstream provider or transport failure.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"503":{"description":"Key, control, or source state unavailable.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}}},"x-api-hub-provider":"lighter","x-api-hub-read-only":true,"x-api-hub-cost":{"model":"free","weight":0,"rate_limit_class":"standard"},"x-api-hub-billing-type":"free"}},"/run/lighter/api/v2/pnl":{"get":{"operationId":"lighter_get_api_v2_pnl","summary":"V2 public historical PnL series with trade, pool, and staking PnL breakdown summary.","tags":["lighter"],"security":[{"HubKey":[]}],"parameters":[{"name":"by","in":"query","required":true,"schema":{"type":"string","enum":["index","l1_address"]},"description":"Lookup key ('index' or 'l1_address').","example":"index"},{"name":"value","in":"query","required":true,"schema":{"type":"string"},"description":"Account index or L1 address.","example":"281474976710654"},{"name":"resolution","in":"query","required":true,"schema":{"type":"string","enum":["1m","5m","15m","1h","4h","12h","1d","1w"]},"description":"Series resolution.","example":"1h"},{"name":"start_timestamp","in":"query","required":true,"schema":{"type":"integer"},"description":"Start Unix timestamp in seconds.","example":1795796508},{"name":"end_timestamp","in":"query","required":true,"schema":{"type":"integer"},"description":"End Unix timestamp in seconds.","example":1795882908},{"name":"count_back","in":"query","required":true,"schema":{"type":"integer","minimum":1},"description":"Number of data points.","example":5}],"responses":{"200":{"description":"Successful provider response in the OpenAPI Hub envelope.","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/ExecutionEnvelope"},{"type":"object","properties":{"data":{"type":"object","additionalProperties":true}}}]}}}},"400":{"description":"Invalid request body or parameters.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"401":{"description":"Missing or invalid X-Hub-Key.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"404":{"description":"Source or executable route not found.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"429":{"description":"Hub admission or account quota limit reached.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"502":{"description":"Upstream provider or transport failure.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"503":{"description":"Key, control, or source state unavailable.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}}},"x-api-hub-provider":"lighter","x-api-hub-read-only":true,"x-api-hub-cost":{"model":"free","weight":0,"rate_limit_class":"standard"},"x-api-hub-billing-type":"free"}},"/run/lighter/api/v1/positionFunding":{"get":{"operationId":"lighter_get_api_v1_positionfunding","summary":"Public historical position funding payments for an account or pool.","tags":["lighter"],"security":[{"HubKey":[]}],"parameters":[{"name":"account_index","in":"query","required":true,"schema":{"type":"integer"},"description":"Account index.","example":281474976710654},{"name":"limit","in":"query","required":true,"schema":{"type":"integer","minimum":1,"maximum":100},"description":"Max funding entries.","example":5},{"name":"cursor","in":"query","required":false,"schema":{"type":"string"},"description":"Pagination cursor."},{"name":"side","in":"query","required":false,"schema":{"type":"string"},"description":"Filter by position side (long, short, all)."}],"responses":{"200":{"description":"Successful provider response in the OpenAPI Hub envelope.","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/ExecutionEnvelope"},{"type":"object","properties":{"data":{"type":"object","additionalProperties":true}}}]}}}},"400":{"description":"Invalid request body or parameters.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"401":{"description":"Missing or invalid X-Hub-Key.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"404":{"description":"Source or executable route not found.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"429":{"description":"Hub admission or account quota limit reached.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"502":{"description":"Upstream provider or transport failure.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"503":{"description":"Key, control, or source state unavailable.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}}},"x-api-hub-provider":"lighter","x-api-hub-read-only":true,"x-api-hub-cost":{"model":"free","weight":0,"rate_limit_class":"standard"},"x-api-hub-billing-type":"free"}},"/run/lighter/api/v1/apikeys":{"get":{"operationId":"lighter_get_api_v1_apikeys","summary":"Publicly registered L2 API key public keys and nonces for an account.","tags":["lighter"],"security":[{"HubKey":[]}],"parameters":[{"name":"account_index","in":"query","required":true,"schema":{"type":"integer"},"description":"Account index.","example":281474976710654},{"name":"api_key_index","in":"query","required":false,"schema":{"type":"integer"},"description":"Optional specific API key index."}],"responses":{"200":{"description":"Successful provider response in the OpenAPI Hub envelope.","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/ExecutionEnvelope"},{"type":"object","properties":{"data":{"type":"object","additionalProperties":true}}}]}}}},"400":{"description":"Invalid request body or parameters.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"401":{"description":"Missing or invalid X-Hub-Key.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"404":{"description":"Source or executable route not found.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"429":{"description":"Hub admission or account quota limit reached.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"502":{"description":"Upstream provider or transport failure.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"503":{"description":"Key, control, or source state unavailable.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}}},"x-api-hub-provider":"lighter","x-api-hub-read-only":true,"x-api-hub-cost":{"model":"free","weight":0,"rate_limit_class":"standard"},"x-api-hub-billing-type":"free"}},"/run/lighter/api/v1/tx":{"get":{"operationId":"lighter_get_api_v1_tx","summary":"Lookup a single L2 transaction by hash or sequence index.","tags":["lighter"],"security":[{"HubKey":[]}],"parameters":[{"name":"by","in":"query","required":true,"schema":{"type":"string","enum":["hash","sequence_index"]},"description":"Lookup field ('hash' or 'sequence_index').","example":"hash"},{"name":"value","in":"query","required":true,"schema":{"type":"string"},"description":"Transaction hash or sequence index.","example":"56a1a6734e864c3e7c8d49ba0465a3c0cab30c66824742ef00e85990117f84d5a10c38631fd7733c"}],"responses":{"200":{"description":"Successful provider response in the OpenAPI Hub envelope.","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/ExecutionEnvelope"},{"type":"object","properties":{"data":{"type":"object","additionalProperties":true}}}]}}}},"400":{"description":"Invalid request body or parameters.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"401":{"description":"Missing or invalid X-Hub-Key.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"404":{"description":"Source or executable route not found.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"429":{"description":"Hub admission or account quota limit reached.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"502":{"description":"Upstream provider or transport failure.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"503":{"description":"Key, control, or source state unavailable.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}}},"x-api-hub-provider":"lighter","x-api-hub-read-only":true,"x-api-hub-cost":{"model":"free","weight":0,"rate_limit_class":"standard"},"x-api-hub-billing-type":"free"}},"/run/lighter/explorer/blocks":{"get":{"operationId":"lighter_get_explorer_blocks","summary":"Latest Lighter ZK-rollup L2 blocks with height, timestamps, and transaction counts.","tags":["lighter"],"security":[{"HubKey":[]}],"parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer","minimum":1,"maximum":100},"description":"Number of blocks.","example":5},{"name":"offset","in":"query","required":false,"schema":{"type":"integer","minimum":0},"description":"Pagination offset."}],"responses":{"200":{"description":"Successful provider response in the OpenAPI Hub envelope.","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/ExecutionEnvelope"},{"type":"object","properties":{"data":{"type":"array","items":{}}}}]}}}},"400":{"description":"Invalid request body or parameters.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"401":{"description":"Missing or invalid X-Hub-Key.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"404":{"description":"Source or executable route not found.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"429":{"description":"Hub admission or account quota limit reached.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"502":{"description":"Upstream provider or transport failure.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"503":{"description":"Key, control, or source state unavailable.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}}},"x-api-hub-provider":"lighter","x-api-hub-read-only":true,"x-api-hub-cost":{"model":"free","weight":0,"rate_limit_class":"standard"},"x-api-hub-billing-type":"free"}},"/run/lighter/explorer/blocks/{height}":{"get":{"operationId":"lighter_get_explorer_blocks_height","summary":"Detailed ZK-rollup block record and included transactions by block height.","tags":["lighter"],"security":[{"HubKey":[]}],"parameters":[{"name":"height","in":"path","required":true,"schema":{"type":"integer","minimum":1},"description":"L2 block height.","example":402901615}],"responses":{"200":{"description":"Successful provider response in the OpenAPI Hub envelope.","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/ExecutionEnvelope"},{"type":"object","properties":{"data":{"type":"object","additionalProperties":true}}}]}}}},"400":{"description":"Invalid request body or parameters.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"401":{"description":"Missing or invalid X-Hub-Key.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"404":{"description":"Source or executable route not found.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"429":{"description":"Hub admission or account quota limit reached.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"502":{"description":"Upstream provider or transport failure.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"503":{"description":"Key, control, or source state unavailable.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}}},"x-api-hub-provider":"lighter","x-api-hub-read-only":true,"x-api-hub-cost":{"model":"free","weight":0,"rate_limit_class":"standard"},"x-api-hub-billing-type":"free"}},"/run/lighter/explorer/batches":{"get":{"operationId":"lighter_get_explorer_batches","summary":"Latest L1-committed ZK-rollup proof batches and verification statuses.","tags":["lighter"],"security":[{"HubKey":[]}],"parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer","minimum":1,"maximum":100},"description":"Number of batches.","example":5},{"name":"offset","in":"query","required":false,"schema":{"type":"integer","minimum":0},"description":"Pagination offset."}],"responses":{"200":{"description":"Successful provider response in the OpenAPI Hub envelope.","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/ExecutionEnvelope"},{"type":"object","properties":{"data":{"type":"array","items":{}}}}]}}}},"400":{"description":"Invalid request body or parameters.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"401":{"description":"Missing or invalid X-Hub-Key.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"404":{"description":"Source or executable route not found.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"429":{"description":"Hub admission or account quota limit reached.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"502":{"description":"Upstream provider or transport failure.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"503":{"description":"Key, control, or source state unavailable.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}}},"x-api-hub-provider":"lighter","x-api-hub-read-only":true,"x-api-hub-cost":{"model":"free","weight":0,"rate_limit_class":"standard"},"x-api-hub-billing-type":"free"}},"/run/lighter/explorer/batches/{batch_number}":{"get":{"operationId":"lighter_get_explorer_batches_batch_number","summary":"Detailed ZK batch record including L1 commit/verify tx hashes and state roots.","tags":["lighter"],"security":[{"HubKey":[]}],"parameters":[{"name":"batch_number","in":"path","required":true,"schema":{"type":"integer","minimum":1},"description":"ZK batch number.","example":277324}],"responses":{"200":{"description":"Successful provider response in the OpenAPI Hub envelope.","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/ExecutionEnvelope"},{"type":"object","properties":{"data":{"type":"object","additionalProperties":true}}}]}}}},"400":{"description":"Invalid request body or parameters.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"401":{"description":"Missing or invalid X-Hub-Key.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"404":{"description":"Source or executable route not found.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"429":{"description":"Hub admission or account quota limit reached.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"502":{"description":"Upstream provider or transport failure.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"503":{"description":"Key, control, or source state unavailable.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}}},"x-api-hub-provider":"lighter","x-api-hub-read-only":true,"x-api-hub-cost":{"model":"free","weight":0,"rate_limit_class":"standard"},"x-api-hub-billing-type":"free"}},"/run/lighter/explorer/accounts/{account_index}/logs":{"get":{"operationId":"lighter_get_explorer_accounts_account_index_logs","summary":"Public on-chain L2 execution logs (orders, trades, transfers) for an account index.","tags":["lighter"],"security":[{"HubKey":[]}],"parameters":[{"name":"account_index","in":"path","required":true,"schema":{"type":"integer"},"description":"Account index.","example":281474976710654},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","minimum":1,"maximum":100},"description":"Max log entries.","example":5},{"name":"offset","in":"query","required":false,"schema":{"type":"integer","minimum":0},"description":"Pagination offset."}],"responses":{"200":{"description":"Successful provider response in the OpenAPI Hub envelope.","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/ExecutionEnvelope"},{"type":"object","properties":{"data":{"type":"array","items":{}}}}]}}}},"400":{"description":"Invalid request body or parameters.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"401":{"description":"Missing or invalid X-Hub-Key.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"404":{"description":"Source or executable route not found.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"429":{"description":"Hub admission or account quota limit reached.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"502":{"description":"Upstream provider or transport failure.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"503":{"description":"Key, control, or source state unavailable.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}}},"x-api-hub-provider":"lighter","x-api-hub-read-only":true,"x-api-hub-cost":{"model":"free","weight":0,"rate_limit_class":"standard"},"x-api-hub-billing-type":"free"}},"/run/lighter/explorer/search":{"get":{"operationId":"lighter_get_explorer_search","summary":"Search the ZK explorer by block height, batch number, transaction hash, or account.","tags":["lighter"],"security":[{"HubKey":[]}],"parameters":[{"name":"q","in":"query","required":true,"schema":{"type":"string"},"description":"Search query (height, batch, hash, address).","example":"402901615"}],"responses":{"200":{"description":"Successful provider response in the OpenAPI Hub envelope.","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/ExecutionEnvelope"},{"type":"object","properties":{"data":{"type":"array","items":{}}}}]}}}},"400":{"description":"Invalid request body or parameters.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"401":{"description":"Missing or invalid X-Hub-Key.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"404":{"description":"Source or executable route not found.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"429":{"description":"Hub admission or account quota limit reached.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"502":{"description":"Upstream provider or transport failure.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"503":{"description":"Key, control, or source state unavailable.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}}},"x-api-hub-provider":"lighter","x-api-hub-read-only":true,"x-api-hub-cost":{"model":"free","weight":0,"rate_limit_class":"standard"},"x-api-hub-billing-type":"free"}}},"components":{"securitySchemes":{"HubKey":{"type":"apiKey","in":"header","name":"X-Hub-Key","description":"Load from API_HUB_KEY; never place a key in a URL."}},"schemas":{"ExecutionEnvelope":{"type":"object","required":["source","path","status","data","cached","latency_ms"],"properties":{"source":{"type":"string"},"path":{"type":"string"},"params":{"type":"object","additionalProperties":true},"status":{"type":"integer"},"data":{},"cached":{"type":"boolean"},"ttl":{"type":"number"},"age_s":{"type":"number"},"latency_ms":{"type":"number"},"error":{"type":"string"}},"additionalProperties":true},"HubError":{"type":"object","required":["error"],"properties":{"error":{"type":"string"},"hint":{"type":"string"},"reason":{"type":"string","enum":["rate","client_concurrency","shared_concurrency","client_state_capacity"]},"retry_after_s":{"type":"integer","minimum":1},"source":{"type":"string"},"path":{"type":"string"},"method":{"type":"string"},"status":{"type":"integer"},"data":{},"cached":{"type":"boolean"},"latency_ms":{"type":"number"}},"additionalProperties":true}}},"tags":[{"name":"lighter","description":"Lighter ZK-rollup DEX data: perp and spot order books, candles, funding, pools, leaderboards, accounts, blocks and WebSockets."}]}