Once I ask the google what’s the function of P2WPKH nested in P2SH, it says the next:

This permits the person to ship funds to a SegWit (Segregated Witness)
deal with utilizing a non-SegWit transaction, which could be helpful in circumstances
the place the person’s pockets or software program doesn’t help SegWit

However I don’t get it, if a pockets doesn’t help segwit, how will a pockets then create a transaction with witness knowledge to spends it.

So my query: What’s the function of P2WPKH-P2SH? What can we get with sending SegWit kind to non-segwit deal with (beginning with 3 base58check for P2SH)?

maximus is a brand new contributor to this website. Take care in asking for clarification, commenting, and answering.
Take a look at our Code of Conduct.