let a = web3.eth.getTransactionCount(PUBLIC_KEY, "latest") // Promise { <pending> } is assigned to a async function get() { let a = await web3.eth.getTransactionCount(PUBLIC_KEY, "latest") console.log(a) // logs 48 } let nonce = get() // Promise { <pending> } is assigned to nonceNo puedo entender estas situaciones. ¿Cuál es la mejor manera de asignar el valor de retorno de la función a la variable?