can anyone help me how to generate the client to PayPal Braintree in megento2. help me great.
Call this Library > \Magento\Braintree\Model\Adapter\BraintreeAdapterFactory $bt_adapter in construct.
$bt_adapter = $this->bt_factory->create(); $value = $bt_adapter->generate();
That should generate a client token for you provided that you first made the config in admin for Braintree