getHistory method
Implementation
Future<List<ScripthashHistory>> getHistory(scripthash) async =>
((await request(
'blockchain.scripthash.get_history',
[scripthash],
) as List<dynamic>)
.map((response) => ScripthashHistory(
height: response['height'],
txHash: response['tx_hash']))).toList();