TWPolymeshExtension extension
Polymesh extension
- on
Methods
-
compileWithSignatures(
{TWCoinType coin = TWCoinType.Polymesh, required List< Uint8List> signatures, required List<Uint8List> publicKeys, TWPublicKeyType? pubKeyType}) → SigningOutput -
Available on SigningInput, provided by the TWPolymeshExtension 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. \return PolymeshSigningOutputproto object. -
preImageHashes(
[TWCoinType coin = TWCoinType.Polymesh]) → PreSigningOutput -
Available on SigningInput, provided by the TWPolymeshExtension extension
Obtain pre-signing hashes of a transaction. \paramcoincoin type \return TransactionCompilerPreSigningOutputproto object. -
sign(
[TWCoinType coin = TWCoinType.Polymesh]) → SigningOutput -
Available on SigningInput, provided by the TWPolymeshExtension extension
Sign \paramcoincoin type \return PolymeshSigningOutputproto object.