Skip to main content

checkTxBatchSupported

Description:

Checks whether the connected wallet supports atomic EIP-5792 transaction batching (wallet_sendCalls) on the current network. Returns false when the wallet does not implement EIP-5792 or the provider is read-only.

Arguments:

NameTypeRequiredDescription
userAddressstringYesThe user address

Returns:

type Output = boolean

Example:

const isTxBatchSupported = await sdk.utils.checkTxBatchSupported({
userAddress: '0x...',
})