@circle-fin/usdckit - v0.21.0
    Preparing search index...
    • Request testnet tokens for an account on a supported blockchain.

      This function facilitates getting testnet tokens (native tokens, USDC, EURC) for testing purposes. It automatically determines which tokens to request based on the specified token parameter or defaults to requesting all available tokens for the chain.

      Parameters

      Returns Promise<void>

      Promise that resolves when the testnet token request is completed

      When the chain doesn't support faucet functionality

      // Request all available testnet tokens
      await drip(client, {
      account: '0x1234567890123456789012345678901234567890'
      })

      // Request only native tokens
      await drip(client, {
      account: '0x1234567890123456789012345678901234567890',
      token: null
      })

      // Request specific token (USDC)
      await drip(client, {
      account: '0x1234567890123456789012345678901234567890',
      token: client.chain.contracts.USDC
      })