I'm trying to build transaction from web3 python library.
swap_transaction = transaction.buildTransaction(
{
"from": Address,
"gas": 300000,
"gasPrice": w3.eth.gas_price,
"nonce": nonce,
}
)
I met a problem that this build takes too much time, like 2-3 mins. How to make it faster?