diff --git a/docs/build/tools/other-paratimes/network.md b/docs/build/tools/other-paratimes/network.md index 2c87c6daed..2c4c490521 100644 --- a/docs/build/tools/other-paratimes/network.md +++ b/docs/build/tools/other-paratimes/network.md @@ -57,9 +57,16 @@ Public gRPC endpoints (in alphabetic order): ## Rosetta Endpoints -| Provider | Mainnet URL | Testnet URL | -|----------|-------------------------------------------|-------------------------------------------| -| [Oasis] | `https://rosetta.oasis.io/api/mainnet/v1` | `https://rosetta.oasis.io/api/testnet/v1` | +| Provider | Mainnet URL | Testnet URL | +|----------|-------------------------------|---------------------------------------| +| [Oasis] | `https://rosetta.oasis.io/v1` | `https://testnet.rosetta.oasis.io/v1` | + +:::info + +The previous URLs, `https://rosetta.oasis.io/api/mainnet/v1` and +`https://rosetta.oasis.io/api/testnet/v1`, keep working and need no change. + +::: :::note diff --git a/docs/node/run-your-node/advanced/sync-node-using-state-sync.md b/docs/node/run-your-node/advanced/sync-node-using-state-sync.md index 3d37866607..77e5c085f2 100644 --- a/docs/node/run-your-node/advanced/sync-node-using-state-sync.md +++ b/docs/node/run-your-node/advanced/sync-node-using-state-sync.md @@ -176,10 +176,13 @@ First obtain the network's Genesis document's hash (e.g. from the Networks Param - [Testnet](https://docs.oasis.io/node/testnet/): `0b91b8e4e44b2003a7c5e23ddadb5e14ef5345c0ebcb3ddcae07fa2f244cab76` Query our public Rosetta Gateway instance and obtain the latest height by -replacing the `` with the value obtained in the previous step: +replacing the `` with the value obtained in the previous step. +The examples below use the Mainnet gateway; for Testnet, replace +`https://rosetta.oasis.io/v1` with `https://testnet.rosetta.oasis.io/v1`, since +each gateway only serves its own network: ```bash -curl -X POST https://rosetta.oasis.io/api/block \ +curl -X POST https://rosetta.oasis.io/v1/block \ -H "Content-Type: application/json" \ -d '{ "network_identifier": { @@ -210,7 +213,7 @@ Assuming blocks happen every 6 seconds, subtract around `140_000` blocks to get the height that is around 10 days old and query again: ```bash -curl -X POST https://rosetta.oasis.io/api/block \ +curl -X POST https://rosetta.oasis.io/v1/block \ -H "Content-Type: application/json" \ -d '{ "network_identifier": {