Get coinbase wallet data
(Created page with "'''$coinbase get wallets''' is a function that retrieves a list of all your Coinbase wallets. Before calling this function, you need to set up your API and security credenti...") |
|||
Line 1: | Line 1: | ||
− | '''$ | + | '''$get coinbase wallet data''' is a function that retrieves a list of all your Coinbase wallets. |
Before calling this function, you need to set up your API and security credentials for Coinbase with the '''config coinbase''' command. | Before calling this function, you need to set up your API and security credentials for Coinbase with the '''config coinbase''' command. | ||
== Return Value == | == Return Value == | ||
− | This function will return a | + | This function will return a yaml object that contains a list of all your Coinbase wallets. Each wallet listed will include relevant information such as the wallet's name, balance, and currency. |
== Example == | == Example == | ||
<pre> | <pre> | ||
+ | ui console view | ||
config coinbase("your api key", "your api secret", "your passphrase") | config coinbase("your api key", "your api secret", "your passphrase") | ||
− | log($ | + | log($get coinbase wallet data) |
</pre> | </pre> | ||
Be sure to replace "your api key", "your api secret", and "your passphrase" with your actual Coinbase API key, API secret, and passphrase. | Be sure to replace "your api key", "your api secret", and "your passphrase" with your actual Coinbase API key, API secret, and passphrase. | ||
− | + | This example simply logs data from your Coinbase wallets to the console. | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
Please remember that your API key, API secret, and passphrase are sensitive information. If you need to show someone your script, remove these details first. | Please remember that your API key, API secret, and passphrase are sensitive information. If you need to show someone your script, remove these details first. |
Latest revision as of 18:14, 4 July 2023
$get coinbase wallet data is a function that retrieves a list of all your Coinbase wallets.
Before calling this function, you need to set up your API and security credentials for Coinbase with the config coinbase command.
[edit] Return Value
This function will return a yaml object that contains a list of all your Coinbase wallets. Each wallet listed will include relevant information such as the wallet's name, balance, and currency.
[edit] Example
ui console view config coinbase("your api key", "your api secret", "your passphrase") log($get coinbase wallet data)
Be sure to replace "your api key", "your api secret", and "your passphrase" with your actual Coinbase API key, API secret, and passphrase.
This example simply logs data from your Coinbase wallets to the console.
Please remember that your API key, API secret, and passphrase are sensitive information. If you need to show someone your script, remove these details first.