Skip to content

Latest commit

 

History

History
19 lines (13 loc) · 932 Bytes

README.md

File metadata and controls

19 lines (13 loc) · 932 Bytes

Cosmos google tools

This have simple functions that will allow you to query blockchains using google app scripts.

Install

Copy the cosmos_directory.gs file content to your google app script project. (Extensions > Apps Script)

Usage

Once the script is installed you will see a new menu "Cosmos directory". That means your script was successfully installed and you can now use the following functions.

Function Description
COSMOSDIRECTORYAPR Retrieve blockchain APR
COSMOSDIRECTORYBALANCE Retrieve blockchain wallet balance
COSMOSDIRECTORYTOTALDELEGATIONS Retrieve blockchain validator total delegations
COSMOSDIRECTORYVALCOMMISSION Retrieve blockchain validator commission