Skip to content

Queries

Query nodes

sentinelcli query nodes \
    --home "${HOME}/.sentinelcli" \
    --node https://rpc.sentinel.co:443 \
    --page 1

Additionally, you can pass flags --provider <PROVIDER_ADDRESS> and --status <STATUS>

Query a node

sentinelcli query node \
    --home "${HOME}/.sentinelcli" \
    --node https://rpc.sentinel.co:443 \
    <NODE_ADDRESS>

Query subscriptions

sentinelcli query subscriptions \
    --home "${HOME}/.sentinelcli" \
    --node https://rpc.sentinel.co:443 \
    --page 1

Additionally, you can pass flags --address <ACCOUNT_ADDRESS> and --status <STATUS>

Query a subscription

sentinelcli query subscription \
    --home "${HOME}/.sentinelcli" \
    --node https://rpc.sentinel.co:443 \
    <SUBSCRIPTION_ID>

Query quotas

sentinelcli query quotas \
    --home "${HOME}/.sentinelcli" \
    --node https://rpc.sentinel.co:443 \
    --page 1 <SUBSCRIPTION_ID>

Query a quota

sentinelcli query quota \
    --home "${HOME}/.sentinelcli" \
    --node https://rpc.sentinel.co:443 \
    <SUBSCRIPTION_ID> <ACCOUNT_ADDRESS>

Query sessions

sentinelcli query sessions \
    --home "${HOME}/.sentinelcli" \
    --node https://rpc.sentinel.co:443 \
    --page 1

Additionally, you can pass flags --address <ACCOUNT_ADDRESS>, --subscription <SUBSCRIPTION_ID> and --status <STATUS>

Query a session

sentinelcli query session \
    --home "${HOME}/.sentinelcli" \
    --node https://rpc.sentinel.co:443 \
    <SESSION_ID>
Back to top