Transfer Collateral and Positions [Python]

Note there are 3 primary methods of transferring assets on Lyra V2:

  1. Transfer Collateral via private/transfer_ec20 (e.g. USDC, ETH, BTC and etc): see Transfer Collateral Example
  2. Transfer a single position via private/transfer_position (e.g. ETH-PERP or ETH option): example is WIP but same effect can be achieved by #3
  3. Transfer multiple positions via private/transfer_positions: e.g. ETH_PERP + BTC option: see Transfer Multiple Positions Example

The above examples use the Lyra Python Action Signing SDK to greatly simplify signing the self-custodial actions and authentication.