Skip to main content

Method Signature

align.crossChain.listPermanentRoutes(
  customerId: string
): Promise<PermanentRouteListResponse>

Example

const response = await align.crossChain.listPermanentRoutes(customerId);

console.log(`Total routes: ${response.items.length}`);

for (const route of response.items) {
  console.log(`${route.source_network}${route.destination_network}`);
  console.log(`  Deposit: ${route.deposit_address}`);
}