preAuthTxHash static method

XdrSignerKey preAuthTxHash(
  1. Uint8List hash
)

Create preAuthTxHash XdrSignerKey from a preAuthTxHashhash.

Implementation

static XdrSignerKey preAuthTxHash(Uint8List hash) {
  XdrSignerKey signerKey =
      new XdrSignerKey(XdrSignerKeyType.SIGNER_KEY_TYPE_PRE_AUTH_TX);
  XdrUint256 value = SignerKey._createUint256(hash);
  signerKey.preAuthTx = value;
  return signerKey;
}