Gets the History of purchases for a given wallet address
import { createThirdwebClient } from "thirdweb";import { BuyWithCryptoHistoryData } from "thirdweb/pay"; const client = createThirdwebClient({ clientId: "..." });const walletAddress = "0x...";const params = { client, 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: BuyWithCryptoHistoryParams;
let returnType: Promise<BuyWithCryptoHistoryData>;
Object of type BuyWithCryptoHistoryData
BuyWithCryptoHistoryData