regen query data convert-hash-to-iri

Convert a ContentHash to an IRI

Synopsis

Convert a ContentHash to an IRI.

regen query data convert-hash-to-iri [hash-json] [flags]

Examples

  regen q data convert-hash-to-iri hash.json

  where hash.json contains:
  {
    "graph": {
      "hash": "YWJjZGVmZ2hpamtsbW5vcHFyc3R1dnd4eXoxMjM0NTY=",
      "digest_algorithm": "DIGEST_ALGORITHM_BLAKE2B_256",
      "canonicalization_algorithm": "GRAPH_CANONICALIZATION_ALGORITHM_URDNA2015",
      "merkle_tree": "GRAPH_MERKLE_TREE_NONE_UNSPECIFIED"
    }
  }

Options

      --grpc-addr string   the gRPC endpoint to use for this chain
      --grpc-insecure      allow gRPC over insecure channels, if not TLS the server must use TLS
      --height int         Use a specific height to query state at (this can error if the node is pruning state)
  -h, --help               help for convert-hash-to-iri
      --node string        <host>:<port> to Tendermint RPC interface for this chain (default "tcp://localhost:26657")
  -o, --output string      Output format (text|json) (default "text")

Options inherited from parent commands

      --chain-id string   The network chain ID

SEE ALSO

Auto generated by spf13/cobra on 3-Apr-2024