TxScriptPubKey.fromScriptPubKeyTransaction constructor
TxScriptPubKey.fromScriptPubKeyTransaction(
- Map scriptPubKey
Implementation
factory TxScriptPubKey.fromScriptPubKeyTransaction(Map scriptPubKey) =>
TxScriptPubKey(
asm: scriptPubKey['asm'],
hex: scriptPubKey['hex'],
type: scriptPubKey['type'],
reqSigs: scriptPubKey['reqSigs'],
addresses: <String>[
for (String addr in scriptPubKey['addresses']) addr
]);