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

# Complete Cross-Chain Transfer

> Complete a cross-chain transfer by providing the transaction hash

## Method Signature

```typescript theme={null}
align.crossChain.completeTransfer(
  customerId: string,
  transferId: string,
  data: CompleteCrossChainTransferRequest
): Promise<CrossChainTransfer>
```

## Parameters

<ParamField path="customerId" type="string" required>
  Customer identifier
</ParamField>

<ParamField path="transferId" type="string" required>
  The cross-chain transfer ID
</ParamField>

<ParamField body="deposit_transaction_hash" type="string" required>
  Transaction hash from the source blockchain
</ParamField>

## Example

```typescript theme={null}
const completed = await align.crossChain.completeTransfer(
  customerId,
  "xc_123e4567-e89b-12d3-a456-426614174000",
  {
    deposit_transaction_hash: "0xabcdef1234567890...",
  }
);

console.log(`Status: ${completed.status}`);
// Status: processing
```

<Warning>
  Wait for the transaction to be confirmed on the source blockchain before
  calling this method.
</Warning>

## Related Methods

<CardGroup cols={2}>
  <Card title="Get Transfer" icon="eye" href="/docs/api/cross-chain/get-transfer">
    Track completion
  </Card>

  <Card title="Create Transfer" icon="link" href="/docs/api/cross-chain/create-transfer">
    Start a transfer
  </Card>
</CardGroup>
