Interface Wallet

  • All Known Implementing Classes:
    ImmutableWallet

    @Immutable
    public interface Wallet
    Represents an Account on the XRP Ledger, otherwise known as a Wallet.
    • Method Detail

      • builder

        static ImmutableWallet.Builder builder()
        Builder immutable wallet . builder.
        Returns:
        the immutable wallet . builder
      • privateKey

        Optional<String> privateKey()
        The private key of the wallet, encoded in hexadecimal.
        Returns:
        An optionally present String containing a private key.
      • publicKey

        String publicKey()
        The public key of the wallet, encoded in hexadecimal.
        Returns:
        A String containing a public key.
      • classicAddress

        Address classicAddress()
        The XRPL address of this wallet, in the Classic Address form.
        Returns:
        The classic Address of this wallet.
      • xAddress

        XAddress xAddress()
        The XRPL address of this wallet, in the X-Address form.
        Returns:
        An XAddress containing the X-Address of this wallet.
      • isTest

        boolean isTest()
        Whether or not this wallet is on XRPL testnet or mainnet.
        Returns:
        A boolean indicating if this is a testnet or mainnet wallet.