SolanaTransaction.fromMessage constructor

SolanaTransaction.fromMessage(
  1. VersionedMessage message
)

Implementation

factory SolanaTransaction.fromMessage(VersionedMessage message) {
  return SolanaTransaction._(
      List.generate(
          message.header.numRequiredSignatures,
          (index) => List<int>.unmodifiable(List<int>.filled(
              SolanaTransactionConstant.signatureLengthInBytes, 0))),
      message: message);
}