Gets the History of purchases for a given wallet address
// * import { BuyWithCryptoHistoryData } from "@thirdweb-dev/sdk"; const walletAddress = "0x...";const params = { clientId: "YOUR_CLIENT_ID", walletAddress,}; // grabs the history of purchase transactions for the wallet addressconst status = await getBuyWithCryptoHistory(params);
function getBuyWithCryptoHistory( params: BuyWithCryptoHistoryParams,): Promise<BuyWithCryptoHistoryData>;
Object of type BuyWithCryptoHistoryParams
BuyWithCryptoHistoryParams
let params: { client: ThirdwebClient; count: number; start: number; walletAddress: string;};
let returnType: { hasNextPage: boolean; page: Array<BuyWithCryptoStatus>;};
Object of type BuyWithCryptoHistoryData
BuyWithCryptoHistoryData