TWPreImageHashesExtension extension
Extensions for obtains pre-signing hashes of a transaction.
- on
-
- GeneratedMessage
Methods
-
anyCompileWithSignatures(
{required TWCoinType coin, required List< Uint8List> signatures, required List<Uint8List> publicKeys, TWPublicKeyType? pubKeyType}) → Uint8List -
Available on GeneratedMessage, provided by the TWPreImageHashesExtension extension
Compiles a complete transation with one or more external signatures. \paramcoin
coin type. \paramsignatures
signatures to compile. \parampublicKeys
public keys for signers to match private keys. \parampubKeyType
public key type. \return serialized data of a proto objectSigningOutput
. -
anyCompileWithSignaturesToOutput<
T extends GeneratedMessage> ({required TWCoinType coin, required List< Uint8List> signatures, required List<Uint8List> publicKeys, TWPublicKeyType? pubKeyType, required T output}) → T -
Available on GeneratedMessage, provided by the TWPreImageHashesExtension extension
Compiles a complete transation with one or more external signatures. \paramcoin
coin type. \paramsignatures
signatures to compile. \parampublicKeys
public keys for signers to match private keys. \parampublicKeys
public keys for signers to match private keys. \parampubKeyType
public key type. \paramoutput
EmptySigningOutput
proto object. \returnoutput
after serialization data is filled. -
anyPreImageHashes(
TWCoinType coin) → Uint8List -
Available on GeneratedMessage, provided by the TWPreImageHashesExtension extension
Obtain pre-signing hashes of a transaction. \paramcoin
coin type. \return serialized data of a proto objectPreSigningOutput
includes hash. -
anyPreImageHashesToOutput<
T extends GeneratedMessage> (TWCoinType coin, T output) → T -
Available on GeneratedMessage, provided by the TWPreImageHashesExtension extension
Obtain pre-signing hashes of a transaction. \paramcoin
coin type. \paramoutput
EmptyPreSigningOutput
proto object. \returnoutput
after serialization data is filled.