Interface Types.Signer

  • Enclosing interface:
    Types

    public static interface Types.Signer
    • Method Summary

      Modifier and Type Method Description
      com.onehilltech.promises.Promise<java.lang.Integer> sign​(Types.IExtrinsic extrinsic, java.lang.String address, Types.SignatureOptions options)
      Signs an extrinsic, returning an id (>0) that can be used to retrieve updates
      void update​(int id, java.lang.Object status)
      Receives an update for the extrinsic signed by a `signer.sign`
    • Method Detail

      • sign

        com.onehilltech.promises.Promise<java.lang.Integer> sign​(Types.IExtrinsic extrinsic,
                                                                 java.lang.String address,
                                                                 Types.SignatureOptions options)
        Signs an extrinsic, returning an id (>0) that can be used to retrieve updates
      • update

        void update​(int id,
                    java.lang.Object status)
        Receives an update for the extrinsic signed by a `signer.sign`