A python wrapper for the FraxScan API
Project description
Fraxtal Python SDK
Welcome to the Fraxtal Python SDK! This library provides a simple interface for interacting with the Fraxtal blockchain, making it easy to build blockchain-based applications in Python. The SDK is available as a PIP package for easy installation and usage.
Installation
You can install the Fraxtal Python SDK using pip:
pip install fraxtal-sdk
Access APIS
from FraxScan-SDK import FraxScanApis
accounts = FraxScanApis.AccountApi()
response = account.get_frxETH_balance(address='0xe7c147cd1a7c05a6e73217645547582024e87a9b')
Features
The SDK provides the following functionalities:
Accounts
This module allows you to manage blockchain accounts. You can create new accounts, retrieve account details, and manage private keys securely. It provides an easy way to handle account-related operations, such as checking balances and generating new addresses.
Transactions
With the Transactions module, you can create, sign, and send transactions on the Fraxtal blockchain. It supports constructing transactions with various parameters, ensuring they are properly formatted and broadcasted to the network. This module simplifies the process of transferring assets and interacting with contracts through transactions.
Blocks
The Blocks module allows you to retrieve information about blocks on the Fraxtal blockchain. You can get details of a specific block by its number or hash, and subscribe to new block events. This is useful for applications that need to monitor blockchain activity or validate transaction confirmations.
Geth Proxy
The Geth Proxy module allows you to interact with a Geth (Go Ethereum) node via JSON-RPC. It provides lower-level access to the Fraxtal blockchain, enabling you to perform various network and node operations that are not covered by the higher-level modules. This is useful for advanced users who need direct interaction with the node.
Tokens
The Tokens module simplifies the management and interaction with tokens on the Fraxtal blockchain. It supports standard token types like ERC-20 and ERC-721, allowing you to perform operations such as token transfers, balance checks, and token creation. This module abstracts the complexities involved in token operations.
Stats
The Stats module provides various statistics and metrics about the Fraxtal blockchain. You can retrieve information about the network status, transaction counts, block times, and other relevant data. This is useful for monitoring the health and performance of the blockchain network.
Contributing
We welcome contributions to the Fraxtal Python SDK! Please open issues or pull requests on the GitHub repository.
License
This project is licensed under the MIT License. See the LICENSE file for details.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file FraxScanSDK-1.0.1.tar.gz
.
File metadata
- Download URL: FraxScanSDK-1.0.1.tar.gz
- Upload date:
- Size: 3.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.11.8
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e78ff0eabc314bbd83df2e1746216ea4e5e048b736daa0a20da6cfad86244a8d |
|
MD5 | eb5b6061cf49db7dd6e41f7c3fcb8d3b |
|
BLAKE2b-256 | 179fb94701dca4e21f78b365cfd8b3be5bacfee17ea3f96da46038c5590cb08f |
File details
Details for the file FraxScanSDK-1.0.1-py3-none-any.whl
.
File metadata
- Download URL: FraxScanSDK-1.0.1-py3-none-any.whl
- Upload date:
- Size: 4.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.11.8
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c8d77f6e9373b4f2f6282d0cb8338173d1c53c051f25dce634bf1fd61e5be355 |
|
MD5 | 12b5cf683a43d110398615712b52701d |
|
BLAKE2b-256 | 026d312d3073d8cb83ec7477ba829ee5b93050b7f4c2823760493380cdac826e |