Skip to main content

Method Signature

align.crossChain.getTransfer(
  customerId: string,
  transferId: string
): Promise<CrossChainTransfer>

Parameters

customerId
string
required
The unique customer identifier
transferId
string
required
The unique transfer identifier

Example

const transfer = await align.crossChain.getTransfer(
  "123e4567-e89b-12d3-a456-426614174000",
  "xc_123e4567-e89b-12d3-a456-426614174000"
);

console.log(`Status: ${transfer.status}`);
console.log(
  `Source: ${transfer.source_network}${transfer.destination_network}`
);