Skip to main content

Transfer Targets

The SDK returns a flat SupplyTarget for deposits and repayments. Every target has a primary address that your UI can display or pass to a wallet.

Display A Target

Use target.address for every transfer route:

showAddress(target.address);

Each target also includes poolId, asset, chain, and action. Native ICP targets may include icpAccountIdentifier for legacy ledger integrations. Do not branch on removed type or account fields.