rawTx method

Future<List<int>> rawTx(
  1. String txid
)

Get raw transaction bytes

Implementation

Future<List<int>> rawTx(String txid) async {
  if (!isValidTxId(txid)) {
    throw ValidationException('Invalid TXID: $txid');
  }

  return await _proxy.get('/raw-tx/$txid');
}