wrapper for the coinbase api