regen query data anchor-by-hash

Query a data anchor by the ContentHash of the data

Synopsis

Query a data anchor by the ContentHash of the data.

regen query data anchor-by-hash [hash-json] [flags]

Examples

  regen q data anchor-by-hash 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 anchor-by-hash
      --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