I'm using the Coinbase Pro official Node.js client library.
How do I access the response
object after making a request using promises?
My use case: I'm calling authedClient.getFills()
and want to use response.headers['cb-after']
in my next request to get the next page of data. Ultimately, I'm trying to make a function called getAllFills
that would get all the pages of fills (one after the other) for a specific product ID.