Pregunta de selección múltiple Pregunta What is the main purpose of using a tool like Web3.js in blockchain data reading? Respostas 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 Selección incorrecta Selección correcta Selección incorrecta Selección incorrecta Pregunta Which of the following is NOT necessary to read data from a smart contract? Respostas 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 Selección incorrecta Selección correcta Selección incorrecta Selección incorrecta Pregunta Why is connecting to an Ethereum node essential in data retrieval? Respostas 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 Selección correcta Selección incorrecta Selección incorrecta Selección incorrecta Pregunta What type of information can you retrieve from a smart contract? Respostas 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 Selección correcta Selección incorrecta Selección correcta Selección incorrecta Pregunta Which of the following are libraries commonly used to programmatically access blockchain data? Respostas 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 Selección correcta Selección incorrecta Selección correcta Selección incorrecta Pregunta What role does an ABI play in interacting with a smart contract? Respostas 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 Selección correcta Selección incorrecta Selección incorrecta Selección incorrecta Pregunta Which of the following is true when retrieving Uniswap token price data? Respostas 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 Selección correcta Selección incorrecta Selección incorrecta Selección correcta Pregunta In what scenario might Web3.js be preferred over Ethers.js? Respostas 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 Selección correcta Selección incorrecta Selección correcta Selección incorrecta Pregunta What challenges might arise when retrieving data programmatically from a smart contract on a public Ethereum node? Respostas 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 Selección incorrecta Selección correcta Selección correcta Selección correcta Pregunta Which functions in Uniswap contracts would be typically used to retrieve price data? Respostas Opción 1 a) getPrice Opción 2 b) getReserves Opción 3 c) price Opción 4 d) swapExactTokensForTokens Retroalimentación Solución Selección correcta Selección correcta Selección incorrecta Selección incorrecta