// Define constantsconstFAST_URL_ENGINES="https://fast.circular.bot/transactions";constFAST_TIP=newPublicKey("FAST3dMFZvESiEipBvLSiXq3QCV51o3xuoHScqRU6cB6");constMIN_TIP_AMOUNT=1_000_000;asyncfunctionsendFastTx(ixs,signer,rpcClient){ // Create transfer instructionconsttipIx=SystemProgram.transfer({fromPubkey:signer.publicKey,toPubkey:FAST_TIP,lamports:MIN_TIP_AMOUNT,});ixs.push(tipIx); // Get the latest blockhashconst{blockhash}=awaitrpcClient.getLatestBlockhash(); // Create transaction and sign itconsttx=newTransaction().add(...ixs);tx.recentBlockhash=blockhash;tx.feePayer=signer.publicKey;tx.sign(signer); // Serialize the transaction to Base64constserializedTx=tx.serialize().toString("base64"); // Send the transactionconstresponse=awaitfetch(FAST_URL_ENGINES,{method:"POST",headers:{"Content-Type":"application/json","x-api-key":"your-api-key"},body:JSON.stringify({jsonrpc:"2.0",id:1,method:"sendTransaction",params: [serializedTx,// base58 or base64{frontRunningProtection:false,// false = SWQOS + Jito, true = only Jito }, ],}),});console.log("Transaction sent :",awaitresponse.json());}