> For the complete documentation index, see [llms.txt](https://yuga.gitbook.io/zkyuga-whitepaper/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://yuga.gitbook.io/zkyuga-whitepaper/developer-guide/erc721/unpause.md).

# unpause

## unpause

The `unpause` method is integral to the ERC-721 token standard, particularly in contracts implementing the Pausable design pattern. This pattern enables the temporary suspension of specific contract operations, often for administrative or emergency purposes. Upon invocation, the `unpause` method restores the functionalities previously halted by the `pause` operation. It forms part of the `ERC721Instance` object, obtainable through client libraries like `ZkyugaClient`.

### Method Signature

```javascript
async unpause(signer: WalletSigner): Promise<TransactionResponse>
```

#### Parameters

<table><thead><tr><th width="139">Parameter</th><th width="131">Type</th><th>Description</th></tr></thead><tbody><tr><td>signer</td><td>WalletSigner</td><td>An instance responsible for signing the unpause transaction. This ensures that only authorized entities (such as contract owners or administrators) can resume the paused functionalities of the contract.</td></tr></tbody></table>

#### Returns

* A `Promise` resolving to a `TransactionResponse` object, furnishing comprehensive details about the transaction, including its status, transaction hash, and more.

### Usage Example

Begin by obtaining the instance of the desired ERC-721 token contract:

```javascript
const erc721 = zkyugaClient.getERC721Instance("your ERC-721 contract address here");
```

Then, utilize the `unpause` method to restore paused functionalities:

```javascript
const signer = zkyugaClient.createWalletSigner("your private key here");
const transactionResponse = await erc721.unpause(signer);
console.log(`Transaction Hash: ${transactionResponse.hash}`);
```

### Notes

* Typically, only privileged addresses (such as contract owners or administrators) possess the authority to execute `unpause`. Ensure that the `signer` used has the necessary permissions to call this function.
* Always prioritize the security of your private keys. When employing the `signer`, exercise caution and refrain from exposing private keys in insecure or client-side environments.
* Pausing and unpausing mechanisms serve as crucial tools for contract administration, particularly during emergencies. Keep users or token holders informed about such actions and their implications.

***
