This endpoint inputs a json object in it’s body which defines a
hash property. This
hash should be a Base58 encoded hash in Multihash format.
Please see https://github.com/multiformats/multihash for more information regarding the Multihash format. To generate Multihashes, first make sure Golang is installed and configured on your machine (https://golang.org/doc/install), then:
$ go get github.com/multiformats/go-multihash/multihash $ echo -n "hello world" | multihash -a sha2-256 QmaozNR7DZHQK1ZcU9p7QdrshMvXqWK6gpu5rmrkPdT3L4
Pass in a single
hash string, in Base58 encoded Multihash format, to create a hash
The properties that are allowed when creating or updating a Hash.
Notice how the
proofId is null. It will become populated during the next time that this app’s
interval ticks over, and a blockchain transaction is created.
The properties that are included when fetching a single Hash.