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