Skip to main content

Transfer of USDC via CCTP

function iDepositUSDC(
uint256 partnerId,
bytes32 destChainIdBytes,
bytes memory recipient,
uint256 amount
) external payable {}

Nitro enables cross-chain transfer of USDC on Arbitrum, Avalanche, Ethereum and Optimism via Circle. In this approach, USDC can be burnt on the source chain and minted on the destination chain.

When a user wants to transfer USDC between the aforementioned chains, the iDepositUSDC function has to be called. Once this function is called, Nitro will handle the interaction with Circle and ensure the end-to-end transfer of USDC to the user on the destination chain.

Parameters

partnerIdUnique ID for each partner who integrates this functionality and has a fee sharing model with Router. This helps them to track and analyze their cross-chain transactions easily.
destChainIdBytesNetwork IDs of the chains in bytes32 format. These can be found here.
recipientWallet address that will receive the tokens on the destination chain.
amountDecimal-adjusted amount of the USDC tokens that have to be transferred.