tuweni / org.apache.tuweni.eth / Transaction / extractPublicKey

extractPublicKey

@Nullable fun extractPublicKey(): PublicKey? (source)

Extracts the public key of the signature of the transaction. If the transaction is invalid, the public key may be null.

Return
PublicKey?: the public key of the key pair that signed the transaction.