block
returns a block by hash.
Changed onget/block/{shard}/by-hash/{hash}
Request
- The document declares no server URL.
- Authnone declared
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
hashstring required
the hash to look after
shardinteger required
the shard ID to query the block for
Response
successful operation
Changes
- breaking
added the new path request parameter
shard - info
for the
pathrequest parameterhash, the type was generalized fromintegertostring
- breaking
- breaking
for the
pathrequest parameterhash, the type changed fromstringtointeger - warning
deleted the
pathrequest parametershard
- breaking