import { Coinbase, Wallet } from "@coinbase/coinbase-sdk";
export default defineComponent({
props: {
coinbase_developer_platform: {
type: "app",
app: "coinbase_developer_platform",
}
},
async run({ steps, $ }) {
const apiKeyName = this.coinbase_developer_platform.$auth.api_key_id;
const privateKey = this.coinbase_developer_platform.$auth.secret_key
Coinbase.configure({ apiKeyName: apiKeyName, privateKey: privateKey });
return Wallet.listWallets();
},
})
Coinbase Developer Platform uses API keys for authentication. When you connect your Coinbase Developer Platform account, Pipedream securely stores the keys so you can easily authenticate to Coinbase Developer Platform APIs in both code and no-code steps.
To retrieve your API Keys (API Key ID and Secret)