We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 387f81d commit 6fc5b9bCopy full SHA for 6fc5b9b
.changeset/flat-cloths-start.md
@@ -0,0 +1,5 @@
1
+---
2
+'@relayprotocol/relay-kit-ui': patch
3
4
+
5
+Enable broader support for gas top up
packages/ui/src/hooks/useGasTopUpRequired.ts
@@ -24,11 +24,12 @@ export default (
24
address !== undefined &&
25
chain !== undefined &&
26
chain?.currency?.address !== undefined &&
27
- chain?.currency?.supportsBridging &&
28
- chain?.vmType === 'evm' &&
29
chain.id !== fromChain?.id &&
30
chain.id !== 169 &&
31
- isErc20Currency
+ chain?.vmType === 'evm' &&
+ isErc20Currency &&
+ (chain?.currency?.supportsBridging || chain?.tokenSupport === 'All')
32
33
const { value: gasBalance } = useCurrencyBalance({
34
chain,
35
address,
0 commit comments