Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

200
Visualizações
Alchemy Web3 (Web3js) - Error importing smart contract ABI

It seems like I am having a problem importing my smart contract ABI into Alchemy Web3

The contract ABI loads into web3js, but when I print the contract into the console and inspect it's methods, I see the following errors for ALL methods' arguments

TypeError: 'caller', 'callee', and 'arguments' properties may not be accessed on strict mode functions or the arguments objects for calls to them
    at Function.s (<anonymous>:1:83)

The code is fairly simple:

      import { createAlchemyWeb3 } from "@alch/alchemy-web3";

      const contractAddress = "0xMyAddress";
      const API_URL = 'https://eth-ropsten.alchemyapi.io/v2/myID'
      const abi = [ .. ]

      const web3 = createAlchemyWeb3(API_URL) 
      const contract = new web3.eth.Contract(abi, contractAddress);
      console.log("CONTRACT", contract)

Here's a basic repo with the isolated issue if it's helpful: https://github.com/0xmcc/vueToWeb3

And the contract abi: https://pastebin.com/TCGmsQLu

Any thoughts are super appreciated

about 4 years ago · Juan Pablo Isaza
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda