Published 15 February 2019

PoolTransactionsGetResult PoolTransactionsGet(1:PoolHash hash, 2:i64 offset, 3:i64 limit)

Description

Description

For web monitor. Get transactions from exactly `hash` pool, skipping `offset` and retrieving at most `limit`

 

Load the block with the passed hash to the pool.
If the block is valid, then retrieve transactions from the pool with displacement `offset` and in the amount of `limit`, save them in the transaction vector in the result structure.
Set the result status - SUCCESS.

Parameters

Parameters

typedef binary PoolHash

Return

Return

struct PoolTransactionsGetResult

{

   1: general.APIResponse status

   2: list<SealedTransaction> transactions

}

Description of the returned structures and typedefs

Description of the returned structures and typedefs

struct APIResponse

{

// 0 for success, 1 for failure, 2 for not being implemented (currently unused)

   1: i8 code

// Explanation

   2: string message

}

Votes 0, average rating 0

Contents