Docs

getBuyHistory

Get Buy transaction history for a given wallet address.

This includes both "Buy with Cryto" and "Buy with Fiat" transactions

Example

import { createThirdwebClient } from "thirdweb";
import { getBuyHistory } from "thirdweb/pay";
const client = createThirdwebClient({ clientId: "..." });
const history = await getBuyHistory({
client,
walletAddress: "0x...",
});

Parameters

Returns