Using this API call we can deposit funds to a paymaster address.
import'dotenv/config';import { Paymaster } from'@kanalabs/mirai';(async () => {// Define the amount, chainId and apiKeyconstamount='0.0001';constchainId=80001;constapiKey=process.env.PAYMASTER_API_KEY||''// initializating Paymaster service using the apiKey...constpaymasterService=newPaymaster(apiKey);// Deposit using the specified amount and chainIdconstresponse=awaitpaymasterService.deposit(amount, chainId);// Log the deposit responseconsole.log('response', response);})()