Type alias DecodedAccountData<T>
DecodedAccountData<T>: {
data: T;
key: PublicKey;
type: "ok";
} | {
error: Error;
key: PublicKey;
type: "error";
}
Type declaration
-
data: T
-
key: PublicKey
-
type: "ok"
Type declaration
-
error: Error
-
key: PublicKey
-
type: "error"