We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 69c9acf commit 2cf70b4Copy full SHA for 2cf70b4
1 file changed
src/routes/[network]/api/network/+server.ts
@@ -175,7 +175,9 @@ async function getNetworkNative(network: NetworkState): Promise<NetworkDataSourc
175
circulating,
176
locked: lockedsupply,
177
supply: supply.supply,
178
- staked: rex.total_lendable,
+ staked: network.supports('rex')
179
+ ? rex.total_lendable
180
+ : Asset.fromUnits(0, supply.supply.symbol),
181
max: supply.max_supply
182
}
183
});
0 commit comments