Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

335
Vistas
How to send 1 USDT with web3.js

I am making a web3 project. Connected to the metamask wallet and got the address. Now, I want the user to send 1 USDT on the BEP.20 chain to my binance wallet, and I want to achieve that like this - a user clicks on the pay button, then metamask opens up and asks use to pay.

This is the code I use -

ethereum.request({
    method: 'eth_sendTransaction',
    params: [{
        from: accounts[0], // Got account address before this.
        to: '0x67243756d4144d6d3e132baa0660e0bc0cddf59b', // my binance wallet address
        value: web3.utils.toWei('1', 'tether'), // How am I supposed make this 1 USDT?
    }],
});

The value part is confusing me. I want only 1 USDT but that i am using right now is giving 100000..... and more zeros.

about 4 years ago · Juan Pablo Isaza
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda