Write a script that periodically poll the server, fetches the transaction data and puts into our local database. The documentation and server address: https://mempool.cardanoapi.io/api-docs