Publish a contract to the contract publisher.
const tx = publishContract({ contract, account, metadata,});
function publishContract( options: BaseTransactionOptions<PublishContractParams>,): PreparedTransaction<any, AbiFunction, PrepareTransactionOptions>;
The options for publishing the contract.
let options: BaseTransactionOptions<PublishContractParams>;
let returnType: PreparedTransaction< any, AbiFunction, PrepareTransactionOptions>;
The transaction to publish the contract.