For AI agents: an LLM-friendly Markdown version of every page is available by appending .md to its URL or by sending an Accept: text/markdown request header. The full documentation index is at https://www.ankr.com/docs/llms.txt
Skip to main content

Corrected Premium URLs in Sui GraphQL and REST samples

Docs Team

Sui GraphQL is available on Premium only, at https://rpc.ankr.com/premium-http/sui_graphql/YOUR_ANKR_API_KEY. We listed https://rpc.ankr.com/http/sui_graphql with the key appended, and that form answered -32052 API key is not allowed to access blockchain for every key. No method limits, error codes or rate limits changed.

Docs​

  • We updated the Sui GraphQL and Sui pages: both show the premium-http URL and mark GraphQL and the gRPC Archive endpoint as Premium only. The balances sample now uses the balances connection, which the Sui GraphQL schema accepts without a coin type.
  • We moved every keyed REST sample to the premium-http route, with the key after the endpoint name: https://rpc.ankr.com/premium-http/<endpoint>/YOUR_ANKR_API_KEY/<path>. This covers the POST samples on the Aptos, Movement, Sei, Stellar Horizon and BTC Blockbook method pages.
  • Aptos and Movement: the POST samples now carry real request bodies (a 0x1::aptos_account::transfer payload, a 0x1::coin::balance view call, and a lookup in the framework's coin conversion table), so encode, view and both table item methods return data. The raw table item samples post to /raw_item with Accept: application/x-bcs. The simulate, submit and batch samples explain which placeholder values to replace. On Movement every GET sample uses real addresses, resources, blocks, versions and transactions instead of {address}-style placeholders; on Aptos the account, resource and module samples do. The Movement account endpoint uses the movement_mainnet name.
  • Stellar Horizon: the transaction submission sample sends the signed envelope as the tx form field.

Worth checking on your side​

If you copied a sample that put your API key into a /http/ URL, or into a URL starting with rpc.ankr.com/premium/, switch it to the premium-http form above. Keyless public URLs under /http/ are unchanged.