Spanish (Spain)
Spanish (Spain)
Spanish (Spain)

Pagos Criptográficos Sin Fisuras para la Web Moderna

Compra criptomonedas con facilidad, utilizando la solución de acceso más eficiente disponible en los EE. UU.

✔️ Permite a los usuarios comprar criptomonedas sin problemas

✔️ Desbloquea intercambios confiables de fiat a cripto

Pagos Criptográficos Sin Fisuras para la Web Moderna

Compra criptomonedas con facilidad, utilizando la solución de acceso más eficiente disponible en los EE. UU.

✔️ Permite a los usuarios comprar criptomonedas sin problemas

✔️ Desbloquea intercambios confiables de fiat a cripto

Pagos Criptográficos Sin Fisuras para la Web Moderna

Compra criptomonedas con facilidad, utilizando la solución de acceso más eficiente disponible en los EE. UU.

✔️ Permite a los usuarios comprar criptomonedas sin problemas

✔️ Desbloquea intercambios confiables de fiat a cripto

The Best Crypto Onramp for the United States

Universal Bridge provides a simple API and pre-built components that make it easy to add crypto payments to your application.

The Best Crypto Onramp for the United States

Universal Bridge provides a simple API and pre-built components that make it easy to add crypto payments to your application.

The Best Crypto Onramp for the United States

Universal Bridge provides a simple API and pre-built components that make it easy to add crypto payments to your application.

index.tsx

import { createThirdwebClient, getContract } from "thirdweb";
import { sepolia } from "thirdweb/chains";

// initialize the client
const client = createThirdwebClient({ clientId });

// connect to your smart contract
const contract = getContract({ client, chain: sepolia, address: "0x..." });

// get all NFTs
const nfts = await getNFTs({ contract });

console.info(nfts);

index.tsx

import { createThirdwebClient, getContract } from "thirdweb";
import { sepolia } from "thirdweb/chains";

// initialize the client
const client = createThirdwebClient({ clientId });

// connect to your smart contract
const contract = getContract({ client, chain: sepolia, address: "0x..." });

// get all NFTs
const nfts = await getNFTs({ contract });

console.info(nfts);

API del lado del servidor

Utiliza nuestra API HTTP de bajo nivel para flujos de pago personalizados e integración backend.

// API del lado del servidor para flujos de pago personalizados
import { ThirdwebSDK } from "@thirdweb-dev/sdk";

const sdk = new ThirdwebSDK("ethereum");

// Obtener la mejor ruta para un intercambio entre cadenas
tconst route = await sdk.pay.getRoute({
  fromChain: "ethereum",
  toChain: "polygon",
  fromToken: "USDC",
  toToken: "MATIC",
  amount: "100",
});

// Ejecutar la transacción
const tx = await sdk.pay.transfer({
  route,
  recipient: "0x...",
});

console.log("Hash de la transacción:", tx.hash);

index.tsx

import { createThirdwebClient, getContract } from "thirdweb";
import { sepolia } from "thirdweb/chains";

// initialize the client
const client = createThirdwebClient({ clientId });

// connect to your smart contract
const contract = getContract({ client, chain: sepolia, address: "0x..." });

// get all NFTs
const nfts = await getNFTs({ contract });

console.info(nfts);

index.tsx

import { createThirdwebClient, getContract } from "thirdweb";
import { sepolia } from "thirdweb/chains";

// initialize the client
const client = createThirdwebClient({ clientId });

// connect to your smart contract
const contract = getContract({ client, chain: sepolia, address: "0x..." });

// get all NFTs
const nfts = await getNFTs({ contract });

console.info(nfts);

SDK del lado del cliente

Integra nuestros componentes de React para una experiencia de usuario fluida con código mínimo.

// SDK del lado del cliente con componentes de React
import { ThirdwebProvider } from "@thirdweb-dev/react";
import { PayButton } from "@thirdweb-dev/pay";

function App() {
  return (
    <ThirdwebProvider>
      <PayButton
        clientId="your-client-id"
        options={{
          amount: 100,
          currency: "USD",
          onSuccess: (result) => {
            console.log("¡Pago exitoso!", result);
          },
        }}
      >
        Pagar Ahora
      </PayButton>
    </ThirdwebProvider>
  );
}

Ponte en contacto

¿Tienes preguntas sobre Universal Bridge? Completa el formulario a continuación y nuestro equipo te responderá.

Al hacer clic en "Enviar", reconozco que he leído y comprendido la Política de Privacidad.