x402-chainlink
    Preparing search index...

    Function isPermitSupported

    • Check if a token supports EIP-2612 permit

      Parameters

      • tokenAddress: `0x${string}`

        Token contract address

      • chainId: number

        Chain ID

      Returns boolean

      True if the token is in the permit registry

      const supportsPermit = isPermitSupported(
      '0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913', // USDC on Base
      8453
      );
      console.log(supportsPermit); // true