const tx = await sudoAPI.pledgeInPosition(
'0x123...', // pcpId
'USDC', // collateralToken
'BTC', // indexToken
1000000, // amount (1 USDC if USDC has 6 decimals)
['0x456...', '0x789...'], // coinObjects
true // long position
);