primarySaleRecipient

Calls the "primarySaleRecipient" function on the contract.

Example

import { primarySaleRecipient } from "thirdweb/extensions/common";
const result = await primarySaleRecipient({
contract,
});
function primarySaleRecipient(
): Promise<string>;

Parameters

The options for the primarySaleRecipient function.

Type

let options: { contract: ThirdwebContract<abi> } & T;

Returns

let returnType: Promise<string>;

The parsed result of the function call.