Pregunta de Selección Múltiple Pregunta What is the main purpose of using a tool like Web3.js in blockchain data reading? Respuestas Opción 1 a) To create blockchain networks Opción 2 b) To interact programmatically with blockchain nodes Opción 3 c) To manage server infrastructure Opción 4 d) To increase transaction speed Retroalimentación Solución Incorrecto Correcto Incorrecto Incorrecto Pregunta Which of the following is NOT necessary to read data from a smart contract? Respuestas Opción 1 a) Contract address Opción 2 b) Transaction gas fee Opción 3 c) ABI (Application Binary Interface) Opción 4 d) A blockchain node connection Retroalimentación Solución Incorrecto Correcto Incorrecto Incorrecto Pregunta Why is connecting to an Ethereum node essential in data retrieval? Respuestas Opción 1 a) It allows direct interaction with the blockchain network Opción 2 b) It increases transaction speed Opción 3 c) It verifies transactions automatically Opción 4 d) It provides high-level security protocols Retroalimentación Solución Correcto Incorrecto Incorrecto Incorrecto Pregunta What type of information can you retrieve from a smart contract? Respuestas Opción 1 a) Token balances Opción 2 b) User emails Opción 3 c) Current transaction fees Opción 4 d) IP addresses of users Retroalimentación Solución Correcto Incorrecto Correcto Incorrecto Pregunta Which of the following are libraries commonly used to programmatically access blockchain data? Respuestas Opción 1 a) Web3.js Opción 2 b) TensorFlow Opción 3 c) Ethers.js Opción 4 d) Flask Retroalimentación Solución Correcto Incorrecto Correcto Incorrecto Pregunta What role does an ABI play in interacting with a smart contract? Respuestas Opción 1 a) It provides a structure to interpret smart contract functions Opción 2 b) It enables faster transactions on the network Opción 3 c) It secures the private keys of users Opción 4 d) It encodes the transaction data Retroalimentación Solución Correcto Incorrecto Incorrecto Incorrecto Pregunta Which of the following is true when retrieving Uniswap token price data? Respuestas Opción 1 a) You must use an Ethereum node connection Opción 2 b) You can retrieve data from any public Ethereum blockchain explorer Opción 3 c) Gas fees are required to read data from smart contracts Opción 4 d) You need the correct contract address and ABI Retroalimentación Solución Correcto Incorrecto Incorrecto Correcto Pregunta In what scenario might Web3.js be preferred over Ethers.js? Respuestas Opción 1 a) When managing multiple blockchain networks Opción 2 b) For lightweight front-end interactions Opción 3 c) For detailed transaction history data access Opción 4 d) When security and small size are prioritized Retroalimentación Solución Correcto Incorrecto Correcto Incorrecto Pregunta What challenges might arise when retrieving data programmatically from a smart contract on a public Ethereum node? Respuestas Opción 1 a) Data inaccuracies Opción 2 b) Rate limits on public nodes Opción 3 c) Difficulty in decoding ABI functions Opción 4 d) Increased latency in data retrieval Retroalimentación Solución Incorrecto Correcto Correcto Correcto Pregunta Which functions in Uniswap contracts would be typically used to retrieve price data? Respuestas Opción 1 a) getPrice Opción 2 b) getReserves Opción 3 c) price Opción 4 d) swapExactTokensForTokens Retroalimentación Solución Correcto Correcto Incorrecto Incorrecto