Communities

Kaspa Q&A
Kaspa Q&A
tag:snake search within a tag
answers:0 unanswered questions
user:xxxx search by author id
score:0.5 posts with 0.5+ score
"snake oil" exact phrase
votes:4 posts with 4+ votes
created:<1w created < 1 week ago
post_type:xxxx type of post
Search help
Notifications
Mark all as read See all your notifications »
Kaspa Q&A

Is there a CLI tool to send RPC commands?

+0
−0

Is there a CLI tool to send RPC commands?

History

0 comment threads

1 answer

+0
−0

Yes, rusty-kaspa comes with the tool kaspa-cli that supports sending RPC command.

For example, to send the RPC command get-block-dag-info you'll need to do the following:

git clone https://github.com/kaspanet/rusty-kaspa.git
cd rusty-kaspa
git checkout stable
cargo run --release --bin kaspa-cli

And then in the interactive prompt enter:

connect <NODE-ADDRESS>
rpc get-block-dag-info
History

0 comment threads

Sign up to answer this question »