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": {} }充值、拿密钥、上线。
自助开通。支持加密货币或银行卡。按额度计费——重型原语更贵,简单调用很便宜。
获取 API 密钥