Scorum
|
Wallet Blockchain history API. More...
Functions | |
optional< block_header > | scorum::wallet::wallet_api::get_block_header (uint32_t num) const |
optional< signed_block_api_obj > | scorum::wallet::wallet_api::get_block (uint32_t num) const |
std::map< uint32_t, block_header > | scorum::wallet::wallet_api::get_block_headers_history (uint32_t num, uint32_t limit) const |
std::map< uint32_t, signed_block_api_obj > | scorum::wallet::wallet_api::get_blocks_history (uint32_t num, uint32_t limit) const |
std::map< uint32_t, applied_operation > | scorum::wallet::wallet_api::get_ops_in_block (uint32_t block_num, applied_operation_type type_of_operation) const |
std::map< uint32_t, applied_operation > | scorum::wallet::wallet_api::get_ops_history (uint32_t from_op, uint32_t limit, applied_operation_type type_of_operation) const |
std::map< uint32_t, applied_operation > | scorum::wallet::wallet_api::get_ops_history_by_time (const fc::time_point_sec &from, const fc::time_point_sec &to, uint32_t from_op, uint32_t limit) const |
std::vector< block_api_object > | scorum::wallet::wallet_api::get_blocks (uint32_t from, uint32_t limit) const |
Wallet Blockchain history API.
optional< signed_block_api_obj > scorum::wallet::wallet_api::get_block | ( | uint32_t | num | ) | const |
Returns the information about a block
num | Block num |
Definition at line 1059 of file wallet.cpp.
optional< block_header > scorum::wallet::wallet_api::get_block_header | ( | uint32_t | num | ) | const |
Returns the information about a block header
num | Block num |
Definition at line 1052 of file wallet.cpp.
std::map< uint32_t, block_header > scorum::wallet::wallet_api::get_block_headers_history | ( | uint32_t | num, |
uint32_t | limit | ||
) | const |
Returns information about the block headers in range [from-limit, from]
num | Block num, -1 means most recent, limit is the number of blocks before from. |
limit | the maximum number of items that can be queried (0 to 100], must be less than from |
Definition at line 1066 of file wallet.cpp.
std::vector< block_api_object > scorum::wallet::wallet_api::get_blocks | ( | uint32_t | from, |
uint32_t | limit | ||
) | const |
Retrieve the list of blocks from block log in range [from-limit, from]
from | Height of the block to be returned |
limit | the maximum number of blocks that can be queried (0 to 100], must be less than from |
Definition at line 1106 of file wallet.cpp.
std::map< uint32_t, signed_block_api_obj > scorum::wallet::wallet_api::get_blocks_history | ( | uint32_t | num, |
uint32_t | limit | ||
) | const |
Returns information about the blocks in range [from-limit, from]
num | Block num, -1 means most recent, limit is the number of blocks before from. |
limit | the maximum number of items that can be queried (0 to 100], must be less than from |
Definition at line 1073 of file wallet.cpp.
std::map< uint32_t, applied_operation > scorum::wallet::wallet_api::get_ops_history | ( | uint32_t | from_op, |
uint32_t | limit, | ||
applied_operation_type | type_of_operation | ||
) | const |
This method returns all operations in ids range [from-limit, from]
from_op | the operation number, -1 means most recent, limit is the number of operations before from. |
limit | the maximum number of items that can be queried (0 to 100], must be less than from |
type_of_operation | Operations type (all = 0, not_virt = 1, virt = 2, market = 3) |
Definition at line 1089 of file wallet.cpp.
std::map< uint32_t, applied_operation > scorum::wallet::wallet_api::get_ops_history_by_time | ( | const fc::time_point_sec & | from, |
const fc::time_point_sec & | to, | ||
uint32_t | from_op, | ||
uint32_t | limit | ||
) | const |
This method returns all operations in timestamp range [from, to] by pages [from_op-limit, from_op]
from | the time from start searching operations |
to | the time until end searching operations |
from_op | the operation number, -1 means most recent, limit is the number of operations before from. |
limit | the maximum number of items that can be queried (0 to 100], must be less than from |
Definition at line 1096 of file wallet.cpp.
std::map< uint32_t, applied_operation > scorum::wallet::wallet_api::get_ops_in_block | ( | uint32_t | block_num, |
applied_operation_type | type_of_operation | ||
) | const |
Returns sequence of operations included/generated in a specified block
block_num | Block height of specified block |
type_of_operation | Operations type (all = 0, not_virt = 1, virt = 2, market = 3) |
Definition at line 1080 of file wallet.cpp.