Rakurai (1.0.0)

Rakurai API — HTTP API for Rakurai liquid and native staking, node scheduler downloads, and validator metrics.

Unsigned transactions: Stake/unstake routes return an unsigned transaction (txn as hex). Sign with the appropriate wallet keypair, then submit with POST /api/v1/send-txn.

GET with JSON body: Some validator routes expect a JSON body on GET (as implemented). Use a client that can send a body on GET.

Download OpenAPI description
Languages
Servers
Production
https://api.rakurai.io/

Native

Native stake and unstake (unsigned transactions).

Operations

Liquid

Liquid stake, unstake, and Jupiter unstake (unsigned transactions).

Operations

Autocompound

Enable or disable auto-compounding for native stake accounts (unsigned transactions).

Operations

Update Autocompound

Request

Enable or disable auto-compounding for one or more native stake accounts. Returns an unsigned txn (hex).

The wallet must be both the staker and withdrawer authority for the stake accounts. When enabling, the stake account must be delegated. When disabling, the transient stake account state is validated (cannot disable while deactivating).

Sign with the wallet and submit via POST /api/v1/send-txn.

Bodyapplication/jsonrequired
walletstringrequired

Wallet public key (base58) that must be both staker and withdrawer authority.

stake_accountsArray of objectsnon-emptyrequired
stake_accounts[].​stake_account_addressstringrequired

Stake account address (base58).

stake_accounts[].​enablebooleanrequired

True to enable auto-compounding, false to disable.

curl -i -X POST \
  https://api.rakurai.io/api/v1/staking/native/autocompound/update \
  -H 'Content-Type: application/json' \
  -d '{
    "wallet": "7xKXtg2CW87d97TXJSDpbD5jBkheTqA83TZRuJosgAsU",
    "stake_accounts": [
      {
        "stake_account_address": "StakeAccount111111111111111111111111111111",
        "enable": true
      },
      {
        "stake_account_address": "StakeAccount222222222222222222222222222222",
        "enable": false
      }
    ]
  }'

Responses

Unsigned transaction (hex).

Bodyapplication/json
txnstringrequired

Serialized transaction message (hex) for signing.

Response
application/json
{ "txn": "010203aabbcc…" }

send_transaction

Broadcast a signed transaction on-chain.

Operations

Rakurai Scheduler

List scheduler versions and download the scheduler archive (authenticated).

Download with curl using -o to save the .tar.gz, and --fail-with-body || cat <file> so HTTP errors return JSON instead of a corrupt archive.

Operations

Validator Stats

Validators list, TVL, APY, TPS, rewards, overview.

Operations