Get Block Details By Block Hash From Callback
This endpoint creates a shortcut to obtain information from Blockchain data by going through Blockchain Events and a specific Event Subscription. It provides data for a specific block by providing the blockHash
attribute from the Event it takes part in and after making check that the customer in question does have a subscription for this block. It applies only for Events related to that user.
Path Parameters
-
Requiredblockchain string
Represents the specific blockchain protocol name, e.g. Ethereum, Bitcoin, etc.
-
Requirednetwork string
Represents the name of the blockchain network used; blockchain networks are usually identical as technology and software, but they differ in data, e.g. - "mainnet" is the live network with actual data while networks like "testnet", "ropsten" are test networks.
-
RequiredblockHash string
Represents the hash of the block, which is its unique identifier. It represents a cryptographic digital fingerprint made by hashing the block header twice through the SHA256 algorithm.
Query parameters
-
Optionalcontext string
In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error.
context
is specified by the user.
Response schema
Content-Type: application/json
The request has been successful.
Object :
-
RequiredapiVersion string
Specifies the version of the API that incorporates this endpoint.
Example : 2023-04-25 -
RequiredrequestId string
Defines the ID of the request. The
requestId
is generated by Crypto APIs and it's unique for every request.Example : 601c1710034ed6d407996b30 -
Optionalcontext string
In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error.
context
is specified by the user.Example : yourExampleString -
Requireddata object
-
Requireditem object
-
Requiredhash string
Represents the hash of the block, which is its unique identifier. It represents a cryptographic digital fingerprint made by hashing the block header twice through the SHA256 algorithm.
Example : 00000000000000000002ad6f9c74faf503bb055c54e0d0746ef34f888f95890f -
Requiredheight integer
Represents the number of blocks in the blockchain preceding this specific block. Block numbers have no gaps. A blockchain usually starts with block 0 called the "Genesis block".
Example : 673852 -
RequiredpreviousBlockHash string
Represents the hash of the previous block, also known as the parent block.
Example : 00000000000000000008953625613e60b56194ea31f07aad43c7505fbddce77f -
Requiredtimestamp integer
Defines the exact date/time when this block was mined in Unix Timestamp.
Example : 1610365615 -
RequiredtransactionsCount integer
Represents the total number of all transactions as part of this block.
Example : 2755 -
Requireddifficulty string
Represents a mathematical value of how hard it is to find a valid hash for this block.
Example : 21448277761059.71 -
RequiredextraData string
Represents any data that can be included by the miner in the block.
Example : 0x7070796520e4b883e5bda9e7a59ee4bb99e9b1bc080c -
RequiredgasLimit string
Represents the amount of gas used by this specific transaction alone.
Example : 552020 -
RequiredgasUsed string
Represents the exact unit of gas that was used for the transaction.
Example : 24673 -
RequiredminedInSeconds integer
Specifies the amount of time required for the block to be mined in seconds.
Example : 17 -
Requirednonce string
Represents the sequential running number for an address, starting from 0 for the first transaction. E.g., if the nonce of a transaction is 10, it would be the 11th transaction sent from the sender's address.
Example : 16 -
Requiredsha3Uncles string
Defines the combined hash of all uncles for a given parent.
Example : 0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347 -
Requiredsize integer
Represents the total size of the block in Bytes.
Example : 1408113 -
RequiredtotalDifficulty string
Defines the total difficulty of the chain until this block, i.e. how difficult it is for a specific miner to mine a new block.
-
Requireduncles array
String array representation of the block uncles
-
RequiredblockchainSpecific object One Ofobject
-
Requiredbits string
A sub-unit of BTC equal to 0.000001 BTC, or 100 Satoshi, and is the same as microbitcoin (μBTC). Bits have two-decimal precision.
Example : 386689514 -
Requiredchainwork string
Represents a hexadecimal number of all the hashes necessary to produce the current chain. E.g., when converting 0000000000000000000000000000000000000000000086859f7a841475b236fd to a decimal you get 635262017308958427068157 hashes, or 635262 exahashes.
Example : 00000000000000000000000000000000000000001932c1bc515b0c0e0dee2040 -
Requireddifficulty string
Represents a mathematical value of how hard it is to find a valid hash for this block.
Example : 21448277761059.71 -
RequiredmerkleRoot string
Defines the single and final (root) node of a Merkle tree. It is the combined hash of all transactions' hashes that are part of a blockchain block.
Example : 02754414626473fa39a0cfbf8d1960fc17ba932ab586340f61f039114053e851 -
Requirednonce integer
Represents a random value that can be adjusted to satisfy the proof of work
Example : 2113101077 -
Requiredsize integer
Represents the total size of the block in Bytes.
Example : 1408113 -
RequiredstrippedSize integer
Defines the numeric representation of the block size excluding the witness data.
Example : 925958 -
Requiredversion integer
Represents the version of the specific block on the blockchain.
Example : 536928256 -
RequiredversionHex string
Is the hexadecimal string representation of the block's version.
Example : 2000000 -
Requiredweight integer
Represents a measurement to compare the size of different transactions to each other in proportion to the block size limit.
Example : 3999412
-
-
-