Btcb2TransactionOutput.fromJson constructor

Btcb2TransactionOutput.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory Btcb2TransactionOutput.fromJson(Map<String, dynamic> json) {
  return Btcb2TransactionOutput(
    address: _string(json, 'address'),
    amountSats: _money(json, 'amountSats', positive: true),
    scriptPubKey: _hexBytes(json, 'scriptPubKey'),
  );
}