cli-client icon indicating copy to clipboard operation
cli-client copied to clipboard

How can I solve this problem? It keeps showing no hours and that gigabytes.

Open MkMarko opened this issue 1 year ago • 1 comments
trafficstars

My order sentinelcli tx node subscribe sentnode1728k2g9e70392gj27hn23sww9tr0uexqu6yw8j 10 1 udvpn --from default_restore

Tips: Subscribe to a node

Usage: sentinelcli tx node subscribe [node-addr] [gigabytes] [hours] [denom] [flags]

Error Message. Error: [gigabytes, hours] cannot be non-empty: invalid message

How can I solve this problem? It keeps showing no hours and that gigabytes.

MkMarko avatar Jan 04 '24 18:01 MkMarko

Query Subscriptions

Retrieve information regarding the subscriptions.

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

Example output:


+--------+---------------------------------------------+--------------------------------+------------------+-------------------------------------------------+-----------+-------+-----------------------------------------------------------------------------+------+-------+
|   ID   |                   ADDRESS                   |          INACTIVE AT           |      STATUS      |                      NODE                       | GIGABYTES | HOURS |                                   DEPOSIT                                   | PLAN | DENOM |
+--------+---------------------------------------------+--------------------------------+------------------+-------------------------------------------------+-----------+-------+-----------------------------------------------------------------------------+------+-------+
| 197707 | sent1hcsg2gt4sqsaaq4kr9acalx79rp2zs4m4kgmvq | 2024-03-19 16:00:05.760729582  | active           |                                                 |         0 |     0 |                                                                             |    4 | udvpn |
|        |                                             | +0000 UTC                      |                  |                                                 |           |       |                                                                             |      |       |
| 225272 | sent1e8dvmhck36n3hypk6wf2e37efn2adz58uzv9p8 | 2024-02-10 12:44:58.053198502  | inactive_pending | sentnode1qurf4q46w03hmurt3yrzf5qt7hajf72a8azvk4 |         1 |     0 | 29999999udvpn                                                               |    0 |       |
|        |                                             | +0000 UTC                      |                  |                                                 |           |       |                                                                             |      |       |
| 225273 | sent1e8dvmhck36n3hypk6wf2e37efn2adz58uzv9p8 | 2024-02-10 12:45:27.840999453  | inactive_pending | sentnode1kpj3al3936n3l9j73ewf4gx5qtdy388lttr8yc |         1 |     0 | 29999999udvpn                                                               |    0 |       |
|        |                                             | +0000 UTC                      |                  |                                                 |           |       |                                                                             |      |       |
| 225275 | sent1xyaw0asa9u58swppepfvlac524n72g0s3z4jux | 2024-02-10 13:28:36.984433968  | inactive_pending | sentnode1qurf4q46w03hmurt3yrzf5qt7hajf72a8azvk4 |         1 |     0 | 29999999udvpn                                                               |    0 |       |
|        |                                             | +0000 UTC                      |                  |                                                 |           |       |                                                                             |      |       |
| 225281 | sent1gwce8uc6qr24xku7cgtgu67t6a3jxr6sf68kl5 | 2024-02-10 14:49:44.757550515  | inactive_pending | sentnode1xmvhvmdwg3xhe4afdzvn6hzanucr6rjlkeyv8u |         1 |     0 | 15342624udvpn                                                               |    0 |       |
|        |                                             | +0000 UTC                      |                  |                                                 |           |       |                                                                             |      |       |
| 225282 | sent1gwce8uc6qr24xku7cgtgu67t6a3jxr6sf68kl5 | 2024-02-10 14:51:25.646322187  | inactive_pending | sentnode1qurf4q46w03hmurt3yrzf5qt7hajf72a8azvk4 |         1 |     0 | 29999999udvpn                                                               |    0 |       |
|        |                                             | +0000 UTC                      |                  |                                                 |           |       |                                                                             |      |       |
| 225289 | sent1tjqlpj77pan58cu63r533vafwa5kcavgu6e3sq | 2024-02-10 13:52:45.192860639  | active           | sentnode1pf4mjzmjpk9m5dse54vhn9kfu0dmgaesus3sam |         1 |     0 | 1073502ibc/B1C0DDB14F25279A2026BC8794E12B259F8BDA546A3C5132CCAEE4431CE36783 |    0 |       |
|        |                                             | +0000 UTC                      |                  |                                                 |           |       |                                                                             |      |       |

Query a Subscription

Retrieve information regarding a specific subscription.

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

Example output:

+--------+---------------------------------------------+--------------------------------+--------+------+-----------+-------+---------+------+-------+
|   ID   |                   ADDRESS                   |          INACTIVE AT           | STATUS | NODE | GIGABYTES | HOURS | DEPOSIT | PLAN | DENOM |
+--------+---------------------------------------------+--------------------------------+--------+------+-----------+-------+---------+------+-------+
| 197707 | sent1hcsg2gt4sqsaaq4kr9acalx79rp2zs4m4kgmvq | 2024-03-19 16:00:05.760729582  | active |      |         0 |     0 |         |    4 | udvpn |
|        |                                             | +0000 UTC                      |        |      |           |       |         |      |       |
+--------+---------------------------------------------+--------------------------------+--------+------+-----------+-------+---------+------+-------+

Subscribe to a Node

Subscribe to a Node

INFO Please ensure that you select one option between <gigabytes> and <hours>. The unused option should be assigned a value of 0.

sentinelcli tx node subscribe \
  <sentnode_address> \
  <gigabytes> \
  <hours> \
  udvpn \
  --from test \
  --chain-id=sentinelhub-2 \
  --node https://rpc.sentinel.co:443 \
  --gas-prices=0.5udvpn \
  --gas=300000

OlegShirochenkov avatar Mar 13 '24 20:03 OlegShirochenkov