How do I determine the IP address of my endpoint cell device when connecting via PPP?

My application involves debian on a beaglebone connecting via pppd.

Is there a recommended/byte-efficient way of determining the public IP address of a client device once it has connected via pppd?

Is this information passed somehow during PPP link negotiation?

Is this information exposed via a API?

Currently, there is not a great way to do this. We might support checking this via API in the future; however, our method for providing easy inbound access to devices is designed to not rely upon knowing the IP address of a device in order to reach it from the Internet.