BlockClient
Block client
Author
Marcus Cvjeticanin
Since
0.1.0
Parameters
node
The node that the wallet service is connected to.
Functions
Link copied to clipboard
suspend fun getBlockDetailsByHeight(blockDetailsByHeight: BlockDetailsByHeightRequest): BlockDetailResponse?
Get block details by hash
Link copied to clipboard
suspend fun getBlocksDetailsByHashes(blocksDetailsByHashes: BlocksDetailsByHashesRequest): BlocksDetailsByHashesResponse?
Get blocks details by hashes
Link copied to clipboard
suspend fun getBlocksDetailsByHeights(blocksDetailsByHeights: BlocksDetailsByHeightsRequest): BlocksDetailsResponse?
Get blocks details by heights
Link copied to clipboard
suspend fun getBlocksHashesByTimestamps(blocksHashesByTimestamps: BlocksHashesByTimestampsRequest): BlocksHashesByTimestampsResponse?
Get blocks hashes by timestamps