def main() -> Transaction:
    return Ledger.get_transaction_from_block('height', 'tx_index')
Example #2
0
def main() -> int:
    return Ledger.get_current_index()
Example #3
0
def main() -> int:
    return Ledger.get_transaction_height(123)
Example #4
0
def main() -> Transaction:
    return Ledger.get_transaction(10)
def Main(index: str) -> Block:
    return Ledger.get_block(index)
def main(hash_: UInt256) -> int:
    return Ledger.get_transaction_height(hash_)
Example #7
0
def main(hash_: UInt256) -> Transaction:
    return Ledger.get_transaction(hash_)
def main(height: int, tx_index: int) -> Transaction:
    return Ledger.get_transaction_from_block(height, tx_index)
Example #9
0
def Main(block_hash: UInt256) -> Block:
    return Ledger.get_block(block_hash)