# makeNftTransferTransaction

Creates a `Transaction` for transferring an NFT. Supports CEP-47, CEP-78, and CEP-95 standards. Works with both Casper 1.x (wraps a Deploy) and Casper 2.0.

## Import

```ts
import { makeNftTransferTransaction, NFTTokenStandard } from 'casper-js-sdk';
```

## Usage

```ts
const tx = makeNftTransferTransaction({
  nftStandard: NFTTokenStandard.CEP78,
  contractPackageHash: 'abc123...',
  senderPublicKeyHex: privateKey.publicKey.toHex(),
  recipientPublicKeyHex: recipientPublicKey.toHex(),
  paymentAmount: '5000000000',   // 5 CSPR gas
  chainName: 'casper',
  tokenId: '42',
  casperNetworkApiVersion: '2.0',
});

tx.sign(privateKey);
const result = await rpcClient.putTransaction(tx);
```

## Parameters

| Parameter | Type | Required | Default |
|---|---|---|---|
| `nftStandard` | `NFTTokenStandard` | yes | - |
| `contractPackageHash` | `string` | yes | - |
| `senderPublicKeyHex` | `string` | yes | - |
| `recipientPublicKeyHex` | `string` | yes | - |
| `paymentAmount` | `string` | yes | - |
| `casperNetworkApiVersion` | `string` | yes | - |
| `tokenId` | `string` | one of | - |
| `tokenHash` | `string` | one of | - |
| `chainName` | `string` | no | `'casper'` |
| `ttl` | `number` | no | `1800000` |
| `timestamp` | `string` | no | now |
| `gasPrice` | `number` | no | `1` |

### nftStandard

```ts
enum NFTTokenStandard {
  CEP47 = 'CEP47',
  CEP78 = 'CEP78',
  CEP95 = 'CEP95',
}
```

### tokenId / tokenHash

Provide exactly one. `tokenId` is a numeric string (e.g. `'42'`). `tokenHash` is the token's hex hash for contracts that use hash-based identifiers.

## Return Value

`Transaction`

## Related

- [`makeNftTransferDeploy`](/utilities/makeNftTransferDeploy) - Deploy-only version
