4,156 questions
4,369 answers
5,718 comments
Hi!
I'm exploring Multichain API.
C:\Multichain>multichain-cli chain1 liststreams {"method":"liststreams","params":[],"id":1,"chain_name":"chain1"}
- Anybody can explain to me what the "id": 1 in the body is for?
Thank you!
Multichain uses RPC 1.0 calls.
The RPC 1.0 protocol request specifies to send an ID. This is the id you are referring to. It can be whatever integer you want.
Quote from JSON-RPC:
More info on RPC specification (Check --> 1.1 Request (method invocation)):
https://www.jsonrpc.org/specification_v1