Skip to main content

Service FAQ

What Service Queries are available?

pocketd query service --help

What Service Transactions are available?

pocketd tx service --help

How do I query for all existing onchain Services?

To query for all services on Beta TestNet, you would run:

pocketd query service all-services --node https://shannon-testnet-grove-rpc.beta.poktroll.com --output json | jq

And expect a response of the following format:

{
"service": [
{
"id": "svc_8ymf38",
"name": "name for svc_8ymf38",
"compute_units_per_relay": "7",
"owner_address": "pokt1aqsr8ejvwwnjwx3ppp234l586kl06cvas7ag6w"
},
{
"id": "svc_drce83",
"name": "name for svc_drce83",
"compute_units_per_relay": "7",
"owner_address": "pokt1mgtf9k4k3pze57gwp3qsne88jmvqkc37t7vd9g"
},
{
"id": "svc_jk07qh",
"name": "name for svc_jk07qh",
"compute_units_per_relay": "7",
"owner_address": "pokt1mwynfsnzesc38f98zrk08pttjn48tu7crc2p09"
}
],
"pagination": {
"total": "3"
}
}