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