Is it Possible to Make contract Calls using Coinbase Wallet API

Hi Team!

On top of buying and selling crypto programmatically using my server, I want the coinbase wallet to be able to make calls to other contracts and protocols. Is that possible via coinbase cloud using your API?

I don’t want to have private keys on my server so I prefer to have a coinbase api key that is white listed for my prod Ip address to limit risk. And i want to be able to trade money and be able to execute other contract methods with it. So far I only see options to buy, sell transfer crypto only like here: Buys | Coinbase Cloud

Thanks!
A

1 Like

Hi @and222 ! Welcome to the forum! Regarding your concern, can you please elaborate as to what you mean in your statement “I want the coinbase wallet to be able to make calls to other contracts and protocols?” This could help us better understand your concern and be able to provide a product that will satisfy your desired function.

Since you’ve mentioned that you prefer an API key, please see the steps listed here for API key creation. You also stated that you “want to be able to trade money and be able to execute other contract methods with it”, can you provide more information about this concern? This is to make sure that we are on the same page.

Please respond back to us so we can quickly address your concerns. Thank you!

2 Likes

so for example, can I call other external smart contracts like uniswap or aave using coinbase wallet api?

And I would want to limit that API key to only be able to interact with whitelisted contracts and only be executable from my prod server (so ip address restrict).

Thanks!

Hi @and222 ! For us to properly assess your case, we would like to ask first, when you said “Coinbase wallet” what Coinbase API are you referring to (Advanced Trade API, Sign in with Coinbase, Coinbase Wallet)? We’ll wait for your response.

Have a great day!

1 Like

Coinbase offers several products so whichever works for the use case I mentioned.

It sounds like “Advanced Trade API” i can control wallet funds programmatically but can I execute external contract methods with it using my server?

Re: Coinbase Wallet - I don’t see an API for that so I don’t think i would programmatically be able to control it.

I also came across Prime API which looks similar to advanced trading api but seems for more institutional clients. is that correct?

Cheers!