The parameters for getBuyHistory function
getBuyHistory
type BuyHistoryParams = { client: ThirdwebClient; count: number; start: number; walletAddress: string;};
A client is the entry point to the thirdweb SDK. It is required for all other actions.
You can create a client using the createThirdwebClient function. Refer to the Creating a Client documentation for more information.
createThirdwebClient
type client = ThirdwebClient;
The number of results to return.
The default value is 10 .
10
type count = number;
Index of the first result to return. The default value is 0 .
0
type start = number;
The wallet address to get the buy history for.
type walletAddress = string;