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

# getTransfer

> Get a specific transfer by ID.

Gets a specific transfer by ID that the wallet is a participant of.

<Info>
  This returns Spark transfer data only. For Lightning-related transfer information, use [`getTransferFromSsp()`](/api-reference/wallet/get-transfer-from-ssp).
</Info>

## Method Signature

```typescript theme={null}
async getTransfer(id: string): Promise<WalletTransfer | undefined>
```

## Parameters

<ResponseField name="id" type="string" required>
  The transfer ID to query
</ResponseField>

## Returns

<ResponseField name="transfer" type="WalletTransfer | undefined" required>
  The transfer details, or undefined if not found
</ResponseField>

### WalletTransfer Fields

| Field                       | Type                  | Description                                                                               |
| --------------------------- | --------------------- | ----------------------------------------------------------------------------------------- |
| `id`                        | `string`              | Unique transfer identifier                                                                |
| `status`                    | `string`              | Transfer status (`TRANSFER_STATUS_SENDER_KEY_TWEAKED`, `TRANSFER_STATUS_COMPLETED`, etc.) |
| `totalValue`                | `number`              | Amount in satoshis                                                                        |
| `senderIdentityPublicKey`   | `string`              | Sender's identity public key                                                              |
| `receiverIdentityPublicKey` | `string`              | Receiver's identity public key                                                            |
| `transferDirection`         | `string`              | `INCOMING` or `OUTGOING` relative to this wallet                                          |
| `createdTime`               | `Date \| undefined`   | When the transfer was created                                                             |
| `updatedTime`               | `Date \| undefined`   | When the transfer was last updated                                                        |
| `expiryTime`                | `Date \| undefined`   | When the transfer expires                                                                 |
| `sparkInvoice`              | `string \| undefined` | The Spark invoice associated with this transfer, if any                                   |

## Example

```typescript theme={null}
const transfer = await wallet.getTransfer("transfer-id-here");
if (transfer) {
  console.log("Transfer status:", transfer.status);
  console.log("Amount:", transfer.totalValue);
}
```
