FlowUser Interface
The FlowUser
interface represents a user on the Flow blockchain, as defined in the Flooks library.
Definition
export interface FlowUser {
addr?: string;
loggedIn?: boolean;
}
Properties
addr
:string
(optional)- The Flow blockchain address of the user. It's marked as optional, meaning it might not be present in all instances of
FlowUser
.
- The Flow blockchain address of the user. It's marked as optional, meaning it might not be present in all instances of
loggedIn
:boolean
(optional)- Indicates whether the user is currently logged in. This property is also optional.
Usage
The FlowUser
interface is used to represent the state of a user in applications interacting with the Flow blockchain. It provides essential information about the user, such as their blockchain address and login status, which can be crucial for various blockchain-related operations and user interface updates.