English
English

Product

Solutions

Resources

Dev Tools

SDKs

Company

Pricing

Playground

English

Product

Solutions

Resources

Dev Tools

SDKs

Company

Pricing

Playground

Seamless Crypto Payments for the Modern Web

Buy crypto with ease, using the most streamlined crypto onramp solution available in the U.S.

✔️ Let users buy crypto seamlessly

✔️ Unlock reliable fiat to crypto swaps

Seamless Crypto Payments for the Modern Web

Buy crypto with ease, using the most streamlined crypto onramp solution available in the U.S.

✔️ Let users buy crypto seamlessly

✔️ Unlock reliable fiat to crypto swaps

Seamless Crypto Payments for the Modern Web

Buy crypto with ease, using the most streamlined crypto onramp solution available in the U.S.

✔️ Let users buy crypto seamlessly

✔️ Unlock reliable fiat to crypto swaps

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);

Server-side API

Use our low-level HTTP API for custom payment flows and backend integration.

// Server-side API for custom payment flows
import { ThirdwebSDK } from "@thirdweb-dev/sdk";

const sdk = new ThirdwebSDK("ethereum");

// Get the best route for a cross-chain swap
const route = await sdk.pay.getRoute({
  fromChain: "ethereum",
  toChain: "polygon",
  fromToken: "USDC",
  toToken: "MATIC",
  amount: "100",
});

// Execute the transaction
const tx = await sdk.pay.transfer({
  route,
  recipient: "0x...",
});

console.log("Transaction hash:", 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);

Client-side SDK

Integrate our React components for a seamless user experience with minimal code.

// Client-side SDK with React components
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("Payment successful!", result);
          },
        }}
      >
        Pay Now
      </PayButton>
    </ThirdwebProvider>
  );
}

Get in Touch

Have questions about Universal Bridge? Fill out the form below and our team will get back to you.

By clicking "Submit", I acknowledge I have read and understand the Privacy Policy.