> ## Documentation Index
> Fetch the complete documentation index at: https://docs.getpara.com/llms.txt
> Use this file to discover all available pages before exploring further.

# useParaViemWriteContract

> Returns a mutation that writes a contract through a Para-backed Viem WalletClient.

This operation hook is exported by the full React SDK. It requires the corresponding Para-backed signer or client to be ready.

## Import

```ts theme={null}
import { useParaViemWriteContract } from "@getpara/react-sdk/evm/hooks";
```

When the supplied signer or client is unavailable, the mutation remains pending and the async trigger rejects with a readiness error.

async

Returns a mutation that writes a contract through a Para-backed Viem WalletClient.

Copy method signature

### Returns

`UseMutationResult with writeContract and writeContractAsync`

The mutation accepts Viem WriteContractParameters without an account and resolves to a transaction hash.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.