getMasterchainInfo
TONC1Returns the current masterchain head — the latest and init block references used to anchor lite-client queries. Takes no parameters.
Endpoint
GET https://api.1st-node.com/v1/ton/getMasterchainInfoReturns
object — last and init block references.
Request
curl "https://api.1st-node.com/v1/ton/getMasterchainInfo" \
-H "Authorization: Bearer $ONE_KEY"Response
{ "last": { "seqno": 39876543, "shard": "-9223372036854775808" }, "init": {} }Top up, get a key, ship.
Self-serve. Pay in crypto or card. Metered by credits — heavy primitives cost more, simple ones are cheap.
Get API key