Planned API
In the meantime
Use the HTTP API directly with therequests library. The quickstart guide has working Python examples for every common operation.Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
The Ralph Studio Python SDK coming soon.
from ralph_studio import RalphStudio
client = RalphStudio(
api_key="rsk_live_...",
slug="my-alephium-node",
)
# Get address balance
balance = client.addresses.get_balance("1DrDyTr9...")
print(balance.alph) # "2.5" — human readable
# Call a contract view function
result = client.contracts.call(
address="27Gsc5...",
method_index=0,
args=[],
)
# Async usage
import asyncio
from ralph_studio.async_client import AsyncRalphStudio
async def main():
async with AsyncRalphStudio(api_key="rsk_live_...", slug="my-node") as client:
balance = await client.addresses.get_balance("1DrDyTr9...")
asyncio.run(main())
requests library. The quickstart guide has working Python examples for every common operation.