I set up a local node using the documentation at Docker-Compose Based Deployment of a Local Network — Splice documentation . With the help of the SDK, I successfully registered a partyId and obtained test coins through the tap & build tap transaction in the Wallet UI. I also completed the transfer (this transfer has 1 step / 2 steps). The problem is that the entire process relied on the SDK. For example, before building the transaction, I needed to obtain parameter information. Is it possible to obtain this information without relying on the SDK, and instead use the curl command line to request it? I saw a link at http://localhost:9090 that corresponds to the Swagger-UI link http://canton.localhost:3000/docs/openapi. Some requests in this link are directly accessible to me, for example, curl -X 'GET' \ '``http://canton.localhost:3000/v2/version``' \ -H 'accept:'. application/json’
{“version”:“3.3.0-SNAPSHOT”,“features”:{“experimental”:{“staticTime”:{“supported”:false},“commandInspectionService”:{“supported”:true}},“userManagement”:{“supported”:true,“maxRightsPerUser”: 1000,“maxUsersPageSize”:1000},“partyManagement”:{“maxPartiesPageSize”:10000},“offsetCheckpoint”:{“maxOffsetCheckpointEmissionDelay”:{“seconds”:75,“nanos”:0,“unknownFields”:{“fields”:{}}}}}}%
But some of my visits gave me errors.
curl -X ‘GET’ \
‘http://canton.localhost:3000/v2/users’ \
-H ‘accept: application/json’
{“code”:“NA”,“cause”:“A security-sensitive error has been received”,“correlationId”:“518855b1d584c95f02d69e674bbd0e67”,“traceId”:“518855b1d584c95f02d69e674bbd0e67”,“context”:{},“resources”:,“errorCategory”:-1,“grpcCodeValue”:16,“retryInfo”:null,“definiteAnswer”:null}%
I think it’s because it needs something like a JWT_TOKEN, which is why it can’t be accessed. If that’s the reason, then I’d like to ask where I can get this JWT_TOKEN? Because I need to get a lot of information through the curl command line, which would be more convenient.