getBuyWithFiatHistory

Get the "Buy with fiat" transaction history for a given wallet address

Example

import { createThirdwebClient } from "thirdweb";
import { getBuyWithFiatHistory } from "thirdweb/pay";
const client = createThirdwebClient({ clientId: "..." });
// get the 10 latest "Buy with fiat" transactions dony by the wallet
const history = await getBuyWithFiatHistory({
client: client,
walletAddress: "0x...",
start: 0,
count: 10,
});

Parameters

Returns

Object of type BuyWithFiatHistoryData