Skip to Content
API referencePulsar EvmSrcComponentscheckIsGelatoAvailable()

@tuwaio/pulsar-core-monorepo


checkIsGelatoAvailable()

checkIsGelatoAvailable(chainId): Promise<boolean>

Defined in: packages/pulsar-evm/src/utils/checkIsGelatoAvailable.ts:17 

Checks if the Gelato Relay service supports a given chain ID. The result is cached in memory for 5 minutes to avoid excessive network requests.

Parameters

chainId

number

The chain identifier to check.

Returns

Promise<boolean>

True if Gelato supports the chain, false otherwise.

Last updated on