Docs

BuyHistoryData

The result for getBuyHistory function

It includes both "Buy with Crypto" and "Buy with Fiat" transactions

type BuyHistoryData = {
hasNextPage: boolean;
page: Array<
| { buyWithFiatStatus: BuyWithFiatStatus }
| { buyWithCryptoStatus: BuyWithCryptoStatus }
>;
};