setPlatformFeeInfo

Prepares a transaction to call the "setPlatformFeeInfo" function on the contract.

Example

import { setPlatformFeeInfo } from "thirdweb/extensions/common";
const transaction = setPlatformFeeInfo({
contract,
platformFeeRecipient: ...,
platformFeeBps: ...,
overrides: {
...
}
});
// Send the transaction
...

Parameters

Returns

A prepared transaction object.