Skip to content

Commit

Permalink
update temporary blockscout api
Browse files Browse the repository at this point in the history
  • Loading branch information
lykalabrada committed Oct 6, 2023
1 parent 0800abf commit d5e2c08
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions shared/store/evmApi.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ export const evmApi = createApi({
>({
query: ({ network = EnvironmentNetwork.TestNet, evmAddress }) => ({
url: `${getEthRpcUrl(
network
network,
)}/api/v2/addresses/${evmAddress}/token-balances`,
method: "GET",
}),
Expand All @@ -39,12 +39,12 @@ const getEthRpcUrl = (network: EnvironmentNetwork) => {
case EnvironmentNetwork.LocalPlayground:
case EnvironmentNetwork.RemotePlayground:
case EnvironmentNetwork.DevNet:
return "https://changi.ocean.jellyfishsdk.com";
return "https://blockscout.changi.ocean.jellyfishsdk.com";
case EnvironmentNetwork.TestNet:
return "https://changi.ocean.jellyfishsdk.com";
return "https://blockscout.changi.ocean.jellyfishsdk.com";
case EnvironmentNetwork.MainNet:
default:
return "https://changi.ocean.jellyfishsdk.com";
return "https://blockscout.changi.ocean.jellyfishsdk.com";
}
};

Expand Down

0 comments on commit d5e2c08

Please sign in to comment.