# NFT Batch Transfer Module

<figure><img src="https://2398861552-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FBIiwmyAPmsS6IKhOGacE%2Fuploads%2FuxZeSbFNvGbcW9ZbV0Lv%2FNFTBatchTransfer%20(1).jpg?alt=media&#x26;token=9a49ebed-be59-40f1-82bb-40b4ef5d62f8" alt=""><figcaption><p>NftBatchTransfer Flow</p></figcaption></figure>

## Types

### Assets

```typescript
export type Nft = {
  collection: string
  tokenId: string
}
```

### ClientOptions

```typescript
export type ClientOptions = {
  network?: Chain
}

export type Chain = 'mainnet' | 'sepolia' | 'localhost'
```

## Functions

### Sending NFTs to Wallet

To send NFTs to the Unlockd user wallet, use the `sendNftsToWallet` function from the `nftBatchTransfer` module:

```typescript
export const sendNftsToWallet = async (
        nfts: {
            contractAddress: string,
            tokenId: string
        }[], 
        options?: ClientOptions
    ): Promise<void>
```

```typescript
const result = await sendNftsToWallet(nfts[], signature, options?);
```

Refer to the NFT Batch Transfer Module documentation for more details on the `sendNftsToWallet` function.
