The Rocket Pool smart node service includes an API accessible via the api container.
API commands can be invoked via docker exec on the machine running the service:
docker exec rocketpool_api /go/bin/rocketpool api [command] [subcommand] [args...]
The API is consumed by the smart node client, which offers a CLI interface for all provided functionality. API endpoints are provided for extension by applications wishing to interact with a running smart node.
All arguments for ETH or token amounts are given in wei.
All endpoints return data in JSON format, always including status and error properties.
wallet status: Get the current status of the password & walletwallet set-password [password]: Set the node password to the specified stringwallet init: Initialize the node walletwallet recover [mnemonic]: Recover the node wallet from a mnemonic phrase (must be quoted)wallet rebuild: Rebuild validator keystores from derived keyswallet export: Get the node password & wallet file contents
node status: Get the current status of the nodenode can-register: Check whether the node can be registered with Rocket Poolnode register [timezone-location]: Register the node with Rocket Poolnode set-timezone [timezone-location]: Set the node's timezone locationnode can-deposit [amount]: Check whether the node can deposit the specified amount of ETHnode deposit [amount] [min-fee]: Deposit the specified amount of ETH with a minimum commission ratenode can-send [amount] [token]: Check whether the node can send an amount of tokensnode send [amount] [token] [to-address]: Send the specified amount of tokens to an addressnode can-burn [amount] [token]: Check whether the node can burn an amount of tokensnode burn [amount] [token]: Burn the specified amount of tokens for ETH
minipool status: Get the current status of all minipools owned by the nodeminipool can-refund [minipool-address]: Check whether the specified minipool has a refund availableminipool refund [minipool-address]: Refund ETH from the specified minipoolminipool can-dissolve [minipool-address]: Check whether the specified minipool can be dissolvedminipool dissolve [minipool-address]: Dissolve the specified minipoolminipool can-exit [minipool-address]: Check whether the specified minipool can be exited from the beacon chainminipool exit [minipool-address]: Exit the specified minipool from the beacon chainminipool can-withdraw [minipool-address]: Check whether the specified minipool can be withdrawn fromminipool withdraw [minipool-address]: Withdraw deposit & rewards from the specified minipoolminipool can-close [minipool-address]: Check whether the specified minipool can be closedminipool close [minipool-address]: Close the specified minipool
network node-fee: Get the current network node commission ratequeue status: Get the current status of the deposit pool and minipool queuequeue can-process: Check whether the deposit pool can be processedqueue process: Process the deposit pool