Interface Signer

  • All Implemented Interfaces:

    
    public interface Signer
    
                        

    Transaction signer.

    Implementers of this interface provide methods for signing transactions to be sent to the Starknet.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      abstract List<Felt> signTransaction(Transaction transaction) Sign a transaction
      abstract List<Felt> signTypedData(TypedData typedData, Felt accountAddress) Sign TypedData.
      abstract Felt getPublicKey() Public key used by a signer.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

    • Method Detail

      • signTypedData

         abstract List<Felt> signTypedData(TypedData typedData, Felt accountAddress)

        Sign TypedData.

        Parameters:
        typedData - TypedData instance to sign
        accountAddress - Account address used in the TypedData hash calculation