Skip to Content
Avail Nexus is now live! Check out our docs to get started.
Data AvailabilityAPI ReferenceAvail Light Client APIRequest current Avail light client status data

Request current Avail light client status data

While the SubscriptionID generated by your Light Client is unique, and you need it to initially connect to the client, you can use ANY UUID4 number  as the request_id in your request.

Request current Avail light client status data.

Sample Request:

{"type":"status","request_id":"4a482bb0-3c22-475d-a2b8-af1c27aa2636"}

Sample Response:

{"topic":"status","request_id":"4a482bb0-3c22-475d-a2b8-af1c27aa2636","message":{"modes":["light","app"],"app_id":13,"genesis_hash":"0xb91746b45e0346cc2f815a520b9c6cb4d5c0902af848db0a80f85932d2e8276a","network":"wss://avail-mainnet.public.blastapi.io/2.2.1-4f0439f4448/39","blocks":{"latest":828832,"available":{"first":828743,"last":828831},"app_data":{"first":828743,"last":828831}}}}
Last updated on