Conversation
… on public fullnodes
`suix_getChainIdentifier` returns -32601 on Sui public fullnodes:
{"error":{"code":-32601,"message":"Method not found. JSON-RPC on public
fullnodes has been deprecated. Please migrate to gRPC or GraphQL endpoints."}}
Unlike a simple rename, no JSON-RPC method works — the transport itself is gone,
so the worked example cannot be repaired in place.
Replaced with the GraphQL equivalent, verified against
https://graphql.mainnet.sui.io/graphql on 2026-09-14. That field returns the
FULL genesis checkpoint digest in base58 rather than the four-byte prefix the
old method returned, so the derivation is now stated explicitly: the value
base58-decodes to 32 bytes beginning 35834a8a, which is the mainnet reference
this profile already documents.
Also removes a trailing sentence that said the response returns the first four
bytes — true of the old JSON-RPC reply, not of the GraphQL field.
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The
suiCAIP-2 profile resolves the chain identifier withsuix_getChainIdentifier. Sui has deprecated JSON-RPC on public fullnodes, so that example no longer runs:Unlike a simple method rename, no JSON-RPC method works — the transport itself is gone — so the example cannot be repaired in place.
Replaced with the GraphQL equivalent, verified on 2026-09-14:
One substantive difference, now documented in the profile. The GraphQL field returns the full genesis checkpoint digest in base58, whereas the old JSON-RPC method returned the four-byte prefix directly. That value base58-decodes to the 32 bytes
35834a8ac17ca48fb14ac8f99c17c98747e95dd07294ae41a46b382246a4499b, whose first four bytes are35834a8a— exactly the mainnet reference this profile already documents. The derivation is spelled out so an implementer is not left to infer it.This also removes a trailing sentence stating that the response returns the first four bytes, which was true of the JSON-RPC reply but is not true of the GraphQL field.
Found while writing a CAIP-19 asset profile for this namespace, as part of FAR, an open cross-reference between CAIP-19, CoinGecko and ISO 24165 identifiers. The
iotaprofile has a closely related issue (#210), since it was derived from this one.