Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

119
Views
Cómo integrarse con el enrutador anyswap

Necesito crear mi propio formulario de token de enrutador integrándolo con el enrutador anyswap https://anyswap.exchange/bridge#/router

Estoy creando una instancia de un contrato basado en su ABI y luego estoy llamando a este método de la instancia anySwapOutUnderlying

 const myContract = web3.eth.Contract(routerAbi, '0xf390830df829cf22c53c8840554b98eafc5dcbc2') const contractData = myContract.methods.anySwapOutUnderlying( '0x55d398326f99059fF775485246999027B3197955', '0x382bb369d343125bfb2117af9c149795c6c65c50', 1, 137, ).encodeABI()

entonces estoy preparando los datos de la solicitud:

 const requestData = { chainId: web3.utils.toHex(56), from: 'my cool address', gas: '', gasPrice: '', nonce: '', to: '0x382bb369d343125bfb2117af9c149795c6c65c50', value: '0x0', data: contractData, }

luego estoy creando un lote donde agrego un par de pasos, pero al final no sucede nada una vez que lo ejecuto

about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!