publishContract

Publish a contract to the contract publisher.

Example

const tx = publishContract({
contract,
account,
metadata,
});
function publishContract(

Parameters

The options for publishing the contract.

Type

Returns

let returnType: PreparedTransaction<
any,
AbiFunction,
>;

The transaction to publish the contract.