My PDA account contains some SOL, and the pubkey of an account I want to transfer the SOL to. Via the client side, is it possible to pass in only the pubkey of the PDA, and then retrieve the receiving account pubkey in the program only?

1 Answer 1


No. A program endpoint must be provided with the addresses of all the accounts it manipulates. If recipient is mutated, you need to pass in recipient's public key.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.