rpc

Resolve TON DNS name

Recursively resolve a TON DNS domain into all records, using the same behavior as GET. Replaces the former address, name, category, and ttl parameters with domain, resolver_address, and seqno. Missing records produce an empty entries array.

post/api/v2/dnsResolve

Request

  • Base URL: https://toncenter.com (the document declares no server; this is the origin it was published from)
  • URL: https://toncenter.com/api/v2/dnsResolve
  • Auth: one of:
    • API key in header X-API-Key
    • API key in query parameter api_key

Request body

domainstring required

Domain to resolve; relative to resolver_address when supplied. Case-insensitive; a trailing dot is accepted.

resolver_addressstring

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

seqnointeger

Masterchain block for root discovery and every resolver call. Defaults to current state.

Response

OK

okboolean required

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

@extrastring required
jsonrpcstring

JSON-RPC protocol version identifier.

idstring

Changes

No recorded changes to this operation across all 1 revision of this API.