Skip to main content
GET
/
api
/
v2
/
getMasterchainBlockSignatures
Get Masterchain Block Signatures
curl --request GET \
  --url https://toncenter.com/api/v2/getMasterchainBlockSignatures
{
  "ok": true,
  "result": {
    "@type": "blocks.blockSignatures",
    "id": {
      "@type": "ton.blockIdExt",
      "workchain": 123,
      "shard": "<string>",
      "seqno": 123,
      "root_hash": "<string>",
      "file_hash": "<string>"
    },
    "signatures": [
      {
        "@type": "blocks.signature",
        "node_id_short": "<string>",
        "signature": "<string>"
      }
    ]
  }
}

SDK Usage

import asyncio

from toncenter.rest import ToncenterRestClient
from toncenter.types import Network

SEQNO = 57981181


async def main() -> None:
    async with ToncenterRestClient(network=Network.MAINNET) as client:
        result = await client.v2.blocks.get_masterchain_block_signatures(
            SEQNO,
        )
        print(result.model_dump_json(indent=4))


if __name__ == "__main__":
    asyncio.run(main())

Query Parameters

seqno
integer<int32>
required

Seqno of a block

Response

OK

ok
boolean
required
Example:

true

result
BlockSignatures · object
required