POSTGet shard account cell

TON Mainnethttps://ton-mainnet.nodit.io/api/v2/getShardAccountCell
CU60

Get the raw TVM cell containing the shard account.

Request Body
addressstringrequired

Account address in raw format (e.g., 0:ca6e321c...) or user-friendly format (e.g., EQDKbjIcfM...). All formats are automatically detected.

seqnostring

Masterchain block sequence number. Query the account state as it was at this block height. If omitted, returns the current state.

Responses
okbooleanrequired

Returns true if the request succeeded; otherwise false. See the error field for details.

@typestring (enum)required

TonLib type identifier for TVM cell values. Refer to the TonLib type reference for a full list.

bytesstringrequired

TVM cell data serialized as base64.

@extrastring

Optional request ID that can be passed in the request and received back in the response. Useful for matching async responses.

X-API-KEY
Request
cURL
curl -X POST "https://ton-mainnet.nodit.io/api/v2/getShardAccountCell" \
  -H "X-API-KEY: {YOUR_API_KEY}" \
  -H "Content-Type: application/json" \
  -d '{
    "address": "EQC5QeYg31ggWlkLDW6-kZxmubzqf8_TT3VjPSIbf6QwqFtN"
  }'
Response
Example · 200
{
  "ok": true,
  "result": {
    "@type": "tvm.cell",
    "bytes": "te6cckECFwEAA2YAAVALvDOQiOeiizb4Cv7wB3ClmcMpj09bn0hzU3CpDURZxQAAbGOuyXOLAQJvwAuUHmIN9YIFpZCw1uvpGcZrm86n/P0091Yz0iG3+kMKgiyFjkNYP8BQAAGxjrslzjELLyAPU0ACAwEU/wD0pBP0vPLICwQAUQAAATEpqaMXHdI7VXoYJ+xuiqLS..."
  },
  "@extra": "1795684374:15:11.183"
}