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. \paramcoincoin type. \paramsignaturessignatures to compile. \parampublicKeyspublic keys for signers to match private keys. \parampubKeyTypepublic 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. \paramcoincoin type. \paramsignaturessignatures to compile. \parampublicKeyspublic keys for signers to match private keys. \parampublicKeyspublic keys for signers to match private keys. \parampubKeyTypepublic key type. \paramoutputEmptySigningOutputproto object. \returnoutputafter serialization data is filled. -
anyPreImageHashes(
TWCoinType coin) → Uint8List -
Available on GeneratedMessage, provided by the TWPreImageHashesExtension extension
Obtain pre-signing hashes of a transaction. \paramcoincoin type. \return serialized data of a proto objectPreSigningOutputincludes 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. \paramcoincoin type. \paramoutputEmptyPreSigningOutputproto object. \returnoutputafter serialization data is filled.