Interface AddressConstants


public interface AddressConstants
Constants defining well-known XRPL addresses.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final Address
    An address that is the XRP Ledger's base58 encoding of the value 1.
    static final Address
    An address that is the XRP Ledger's base58 encoding of the value 0.
    static final Address
    When rippled starts a new genesis ledger from scratch (for example, in stand-alone mode), this account holds all the XRP.
    static final Address
    In the past, Ripple asked users to send XRP to this account to reserve Ripple Names.
    static final Address
    Previous versions of ripple-lib generated this address when encoding the value NaN using the XRP Ledger's base58 string encoding format.
  • Field Details

    • ACCOUNT_ZERO

      static final Address ACCOUNT_ZERO
      An address that is the XRP Ledger's base58 encoding of the value 0. In peer-to-peer communications, rippled uses this address as the issuer for XRP. This is a Black hole account.
      See Also:
      • "https://xrpl.org/accounts.html#special-addresses"
    • ACCOUNT_ONE

      static final Address ACCOUNT_ONE
      An address that is the XRP Ledger's base58 encoding of the value 1. In the ledger, RippleState entries use this address as a placeholder for the issuer of a trust line balance. This is a Black hole account.
      See Also:
      • "https://xrpl.org/accounts.html#special-addresses"
    • GENESIS_ACCOUNT

      static final Address GENESIS_ACCOUNT
      When rippled starts a new genesis ledger from scratch (for example, in stand-alone mode), this account holds all the XRP. This address is generated from the seed value masterpassphrase which is hard-coded.
      See Also:
      • "https://xrpl.org/accounts.html#special-addresses"
    • NAME_RESERVATION_BLACKHOLE

      static final Address NAME_RESERVATION_BLACKHOLE
      In the past, Ripple asked users to send XRP to this account to reserve Ripple Names. This is a Black hole account.
      See Also:
      • "https://xrpl.org/accounts.html#special-addresses"
    • NAN_ADDRESS

      static final Address NAN_ADDRESS
      Previous versions of ripple-lib generated this address when encoding the value NaN using the XRP Ledger's base58 string encoding format. This is a Black hole account.
      See Also:
      • "https://xrpl.org/accounts.html#special-addresses"