Skip to main content
1 of 3
Bobz
  • 574
  • 1
  • 4
  • 16

Send SOL from PDA account to PubKey in anchor

I want to send SOL from PDA to Pubkey. I have saved some addresses in a Vec and now I want to send SOL on these accounts from the PDA account which holds the SOL. How can I send SOL on to these accounts? I found many solutions where the Recipient address is type AccountInfo. Is there any way to send SOL without using the type of Recipient address AccountInfo.

Bobz
  • 574
  • 1
  • 4
  • 16