usePayments

Integrate Tweed Payments into your application and start selling NFTs and tokens effortlessly using a usePayments hook.

Checkout widget

Display Tweed's token and NFT widget anywhere in your application by simply calling the checkoutIntent function and providing the item's ID.

checkoutIntent()
import { usePayments } from "@paytweed/core-react";

const { checkoutIntent } = usePayments();

await checkoutIntent({
  itemId: <ITEM_ID>,
});

Method parameters

itemId REQUIRED string

toAddress Optional string

Last updated