> ## 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.

# getPendingTransfers

> Get pending inbound transfers for a Spark address.

Gets pending inbound transfers for a Spark address.

## Method Signature

```typescript theme={null}
async getPendingTransfers(sparkAddress: string): Promise<Transfer[]>
```

## Parameters

<ResponseField name="sparkAddress" type="string" required>
  The Spark address to query pending transfers for.
</ResponseField>

## Returns

<ResponseField name="transfers" type="Transfer[]" required>
  Array of pending inbound transfer objects.
</ResponseField>

## Example

```typescript theme={null}
const pending = await client.getPendingTransfers("sp1...");
console.log(`${pending.length} pending transfers`);

for (const transfer of pending) {
  console.log(transfer.id, transfer.totalValue);
}
```
