Official Python SDK for Raptoreum (RTM) JSON-RPC API
Project description
Raptoreum (RTM) SDK - Python
A lightweight, zero-dependency Python client wrapper for the Raptoreum Core JSON-RPC interface.
Installation
You can install this SDK from PyPI:
pip install rtm-sdk
Or install it locally from source:
cd python
pip install -e .
Quick Start
from raptoreum import RaptoreumClient
# Initialize the client
client = RaptoreumClient(
host="127.0.0.1",
port=8766,
user="your_rpc_user",
password="your_rpc_password"
)
# Fetch blockchain info
info = client.getblockchaininfo()
print(f"Current Block Height: {info['blocks']}")
# Get wallet balance
balance = client.getbalance()
print(f"Hot Wallet Balance: {balance} RTM")
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
rtm_sdk-1.0.0.tar.gz
(4.1 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file rtm_sdk-1.0.0.tar.gz.
File metadata
- Download URL: rtm_sdk-1.0.0.tar.gz
- Upload date:
- Size: 4.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.10.20
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d2adedae67011e32250cd005cc0405b1e103c6db37726ab1f93055621a9dee9b
|
|
| MD5 |
16f315d892fcb35588d22a0b4fe87475
|
|
| BLAKE2b-256 |
f50ea0989b2950aa3547de6092f45537d0c7b2fa3040c5622bea49a9052d7f6d
|
File details
Details for the file rtm_sdk-1.0.0-py3-none-any.whl.
File metadata
- Download URL: rtm_sdk-1.0.0-py3-none-any.whl
- Upload date:
- Size: 4.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.10.20
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b73c7a4f18dc1e2eae6ce4404553b84b4123b4b03e90e341562db0d66ef13dc8
|
|
| MD5 |
115d6ec47bcf00d34cd994397a0cb2f6
|
|
| BLAKE2b-256 |
503a26533df0ec5153c079e912d6251e07f9df7382028b3c6d53186a6ad464cd
|