setPublisherProfileUri

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

Example

import { sendTransaction } from "thirdweb";
import { setPublisherProfileUri } from "thirdweb/extensions/thirdweb";
const transaction = setPublisherProfileUri({
contract,
publisher: ...,
uri: ...,
overrides: {
...
}
});
// Send the transaction
await sendTransaction({ transaction, account });
function setPublisherProfileUri(
| { asyncParams: () => Promise<SetPublisherProfileUriParams> }
>,

Parameters

The options for the "setPublisherProfileUri" function.

Type

| { asyncParams: () => Promise<SetPublisherProfileUriParams> }
>;

Returns

let returnType: PreparedTransaction<
any,
AbiFunction,
>;

A prepared transaction object.