New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

minadata

Package Overview
Dependencies
Maintainers
1
Versions
17
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

minadata

MinaData simplifies the retrieval of transaction data on the Mina blockchain. In doing so, it directly fetches data through the native GraphQL interfaces of the Archive Node. MinaData aims to assist you in quickly launching user interfaces.

  • 0.0.4
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

CircleCI

Mina Data

MinaData simplifies the retrieval of transaction data on the Mina blockchain. In doing so, it directly fetches data through the native GraphQL interfaces of the Archive Node. MinaData aims to assist you in quickly launching user interfaces.

Quickstart

node

npm init -y
npm i minadata

index.mjs

import { MinaData } from 'minadata'

const minaData = new MinaData()
minaData.setEnvironment( {
    'network': 'berkeley'
} )

minaData.getData( { 
    'preset': 'transactionByHash', 
    'userVars': {
        'hash': '5Ju7HSdjQcPpgzkjECVdmErhuri3VMLm2N7b4z2mB6kMbbKnFHx1'
    } 
} )

Table of Contents

  1. Quickstart
  2. Presets
  3. Contributing
  4. Limitations
  5. Credits
  6. License
  7. Code of Conduct

Presets

  • transactionByHash
NameDescriptionTypeRequiredDefault
hashTransaction hashstringtrue5Ju7HSdjQcPpgzkjECVdmErhuri3VMLm2N7b4z2mB6kMbbKnFHx1
  • latestBlockHeight
NameDescriptionTypeRequiredDefault
blockHeight_ltHighest blocknumberfalse999999999
  • latestBlockHeights
NameDescriptionTypeRequiredDefault
limitLimitnumberfalse10
  • latestEventsFromContract
NameDescriptionTypeRequiredDefault
limitLimitnumberfalse10
blockHeight_ltHighest blocknumberfalse999999999
creatorBTC addressstringtrueB62qnLVz8wM7MfJsuYbjFf4UWbwrUBEL5ZdawExxxFhnGXB6siqokyM

Example:

minaData.getData( {
    'preset': ' latestEventsFromContract',
    'userVars': {
        'creator': 'B62qnLVz8wM7MfJsuYbjFf4UWbwrUBEL5ZdawExxxFhnGXB6siqokyM'
    }
})

Please visit https://easymina.github.io/minadata

Create Dist

    npx webpack --config webpack.config.js

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/easymina/minaData. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the code of conduct.

Limitations

  • Currently in Alpha Stage

Credits

  • This project was supported by the zkIgnite grant program.

License

The module is available as open source under the terms of the Apache 2.0.

Code of Conduct

Everyone interacting in the EasyMina project's codebases, issue trackers, chat rooms and mailing lists is expected to follow the code of conduct.

FAQs

Package last updated on 03 Nov 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc