Pregunta de selección múltiple Pregunta What is the primary purpose of gas fees in Ethereum transactions? Respostas Opción 1 a) To secure the network Opción 2 b) To incentivize miners for processing transactions Opción 3 c) To control smart contract access Opción 4 d) To decrease transaction time Retroalimentación Solución Selección incorrecta Selección correcta Selección incorrecta Selección incorrecta Pregunta Which of the following libraries can be used to send data to an Ethereum smart contract? Respostas Opción 1 a) Web3.js Opción 2 b) Ethers.js Opción 3 c) React.js Opción 4 d) Solidity Retroalimentación Solución Selección correcta Selección correcta Selección incorrecta Selección incorrecta Pregunta What is a common reason for transaction failure when writing data to a blockchain? Respostas Opción 1 a) Incorrect gas fee settings Opción 2 b) Outdated ABI Opción 3 c) Private key is missing Opción 4 d) Low network connection speed Retroalimentación Solución Selección correcta Selección correcta Selección incorrecta Selección incorrecta Pregunta Which of these is essential to initiate a token swap on Uniswap? Respostas Opción 1 a) Contract ABI and address Opción 2 b) Wallet balance Opción 3 c) Node connection Opción 4 d) Prior approval from Uniswap Retroalimentación Solución Selección correcta Selección correcta Selección correcta Selección incorrecta Pregunta What factors affect the cost of a transaction when writing to a blockchain? Respostas Opción 1 a) Gas fees Opción 2 b) Node speed Opción 3 c) Data size of the transaction Opción 4 d) Time of transaction Retroalimentación Solución Selección correcta Selección incorrecta Selección correcta Selección correcta Pregunta When using Metamask to write data to a smart contract, which step is essential for security? Respostas Opción 1 a) Configuring the gas limit accurately Opción 2 b) Verifying transaction details before approval Opción 3 c) Clearing browser cache Opción 4 d) Manually encoding the ABI Retroalimentación Solución Selección incorrecta Selección correcta Selección incorrecta Selección incorrecta Pregunta Which function might you use in Uniswap's contract to write data for a token swap? Respostas Opción 1 a) swapExactTokensForTokens Opción 2 b) approve Opción 3 c) getPrice Opción 4 d) swap Retroalimentación Solución Selección correcta Selección correcta Selección incorrecta Selección incorrecta Pregunta What are possible consequences of setting a gas limit too low in a transaction? Respostas Opción 1 a) Transaction completion at a lower cost Opción 2 b) Transaction failure and gas loss Opción 3 c) Delay in transaction processing Opción 4 d) Potential to rerun the transaction Retroalimentación Solución Selección incorrecta Selección correcta Selección correcta Selección incorrecta Pregunta What steps should be taken to verify a successful transaction on the Ethereum blockchain? Respostas Opción 1 a) Check transaction hash on Etherscan Opción 2 b) Compare ABI with the contract on Etherscan Opción 3 c) Ensure the wallet balance is updated Opción 4 d) Decode transaction data manually Retroalimentación Solución Selección correcta Selección incorrecta Selección correcta Selección incorrecta Pregunta Which best practices help minimize gas fees when writing data to a blockchain? Respostas Opción 1 a) Execute transactions during low network activity times Opción 2 b) Set the gas price manually based on network conditions Opción 3 c) Use a blockchain explorer to find optimal gas settings Opción 4 d) Limit the transaction size Retroalimentación Solución Selección correcta Selección correcta Selección incorrecta Selección correcta