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,
});
function getBuyWithFiatHistory(

Parameters

Object of type BuyWithFiatHistoryParams

Type

let params: {
client: ThirdwebClient;
count: number;
start: number;
walletAddress: string;
};

Returns

let returnType: {
hasNextPage: boolean;
page: Array<BuyWithFiatStatus>;
};

Object of type BuyWithFiatHistoryData