Interface AccountInfo.AccountInfoData.AccountInfoParsedData

  • Enclosing interface:
    AccountInfo.AccountInfoData

    public static interface AccountInfo.AccountInfoData.AccountInfoParsedData
    Represents parsed account information data within an account. This nested interface provides access to the program associated with the account, the allocated space for the account, and a dynamically structured parsed data map.
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      java.util.Map<java.lang.String,​java.lang.Object> getParsedData()
      Returns a map representation of parsed data fields for the account.
      java.lang.String getProgram()
      Returns the name or identifier of the program associated with the account.
      int getSpace()
      Returns the allocated space for the account in bytes.
    • Method Detail

      • getProgram

        java.lang.String getProgram()
        Returns the name or identifier of the program associated with the account. This program defines the logic for the account's operations within the Solana blockchain.
        Returns:
        a string representing the program's name or identifier
      • getSpace

        int getSpace()
        Returns the allocated space for the account in bytes. The space represents the amount of storage allocated to this account within the Solana blockchain.
        Returns:
        the size of the account in bytes
      • getParsedData

        java.util.Map<java.lang.String,​java.lang.Object> getParsedData()
        Returns a map representation of parsed data fields for the account. This parsed data is represented as a Map with string keys and object values, allowing flexible access to dynamically structured data fields within the account.
        Returns:
        a Map where keys are field names and values are the corresponding parsed data, potentially containing nested structures as Map<String, Object>