TransactionHash returns the network-specific transaction hash for a signed transaction.
ConstructionHashRequest is the input to the /construction/hash endpoint.
/construction/hash
The network_identifier specifies which network a particular object is associated with.
TransactionIdentifierResponse contains the transaction_identifier of a transaction that was submitted to either /construction/hash or /construction/submit.
/construction/submit
POST /construction/hash HTTP/1.1 Host: Content-Type: application/json Accept: */* Content-Length: 211 { "network_identifier": { "blockchain": "bitcoin", "network": "mainnet", "sub_network_identifier": { "network": "shard 1", "metadata": { "producer": "0x52bc44d5378309ee2abf1539bf71de1b7d7be3b5" } } }, "signed_transaction": "text" }
Expected response to a valid request
{ "transaction_identifier": { "hash": "0x2f23fd8cca835af21f3ac375bac601f97ead75f2e79143bdf71fe2c4be043e8f" }, "metadata": {} }