docs.stake.tax
  • StakeTax Documentation
  • DEVS
    • github for stake.tax
    • Add New CSV format example
    • Adding CSV in cosmos-based ecosystem
    • Configuring use of Mintscan API
  • Tokens
    • COSMOS+ (v1)
    • COSMOS+ (v2)
    • AKT
    • ALGO
    • ARCH
    • ATOM
    • BLD
    • BTSG
    • DVPN
    • DYDX
    • DYM
    • EVMOS
    • FET
    • HUAHUA
    • INJ
    • IOTX
    • JUNO
    • KUJI
    • KYVE
    • LUNA1 (LUNC)
    • LUNA2 (LUNA)
    • NLS
    • NTRN
    • OSMO
    • REGEN
    • SAGA
    • SEI
    • SOL
    • STARS
    • STRD
    • TIA
    • BAND (no longer supported)
  • CSV FORMATS
    • Default (StakeTax CSV)
    • Accointing
    • Awaken Tax
    • bitcoin.tax
    • BittyTax
    • Blockpit
    • Coinpanda
    • Cointelli
    • Cointracker
    • Cointracking
    • CoinLedger (CryptoTrader.Tax)
    • Cryptio
    • CryptoTaxCalculator
    • Crypto.com Tax
    • CryptoBooks
    • Cryptoworth
    • Divly
    • Koinly
    • Recap
    • Taxbit
    • TokenTax
    • ZenLedger
  • FAQ
    • FAQ
  • MEDIA
    • Media Assets
Powered by GitBook
On this page

Was this helpful?

  1. DEVS

Configuring use of Mintscan API

PreviousAdding CSV in cosmos-based ecosystemNextCOSMOS+ (v1)

Last updated 10 months ago

Was this helpful?

Mintscan API is used for the following reports on the StakeTax website:

  • AKT

  • ARCH

  • ATOM

  • DYDX

  • EVMOS

  • INJ

  • JUNO

  • NTRN

  • OSMO

  • STRD

  • TIA

For the CSVs listed above, source data for transactions can be pulled from LCD node or Mintscan API in the codebase. LCD node as source data is default because it works out of the box. But Mintscan API as source data is preferable because it has a more complete history in almost all cases.

To change to Mintscan API as source data, do the following:

  1. Follow to get a Mintscan API key. Specifically,

  • create a mintscan account

  • create a mintscan key

  1. Add STAKETAX_MINTSCAN_KEY to your python environment:

# i.e.
export STAKETAX_MINTSCAN_KEY=<someverylongstringkey>
  1. Run the report per usual:.

# i.e.
python3 staketaxcsv/report_akt.py <wallet_address>

Email to get your key "approved", so that it is no longer in "pending" state in the mintscan api dashboard ()

https://docs.cosmostation.io/apis#how-to-get-api-key
api@cosmostation.io
https://api.mintscan.io/dashboard