This issue is related to TransactionExpiredBlockheightExceededError
.
The error TransactionExpiredBlockheightExceededError indicates that the transaction has expired because it was not confirmed within the allowed block height range. On Solana, transactions have a recent blockhash that is only valid for a limited number of blocks (approximately 150 blocks, or ~1 minute). If the transaction is not confirmed within this time frame, it expires and cannot be processed.
To transfer SPL tokens in TypeScript using the Solana Web3.js library, you need to include the latestBlockhash and potentially increase the priority fees to ensure your transaction is processed promptly.
You can check this link: https://docs.chainstack.com/docs/transferring-spl-tokens-on-solana-typescript
Good luck!