Get the "Buy with fiat" transaction history for a given wallet address
import { createThirdwebClient } from "thirdweb";import { getBuyWithFiatHistory } from "thirdweb/pay"; const client = createThirdwebClient({ clientId: "..." }); // get the 10 latest "Buy with fiat" transactions dony by the walletconst history = await getBuyWithFiatHistory({ client: client, walletAddress: "0x...", start: 0, count: 10,});
function getBuyWithFiatHistory( params: BuyWithFiatHistoryParams,): Promise<BuyWithFiatHistoryData>;
Object of type BuyWithFiatHistoryParams
BuyWithFiatHistoryParams
let params: { client: ThirdwebClient; count: number; start: number; walletAddress: string;};
let returnType: { hasNextPage: boolean; page: Array<BuyWithFiatStatus>;};
Object of type BuyWithFiatHistoryData
BuyWithFiatHistoryData