Interface ParsableEntity<T>
interface ParsableEntity<T> { parse: ( address: PublicKey, accountData: undefined | null | AccountInfo<Buffer<ArrayBufferLike>>, ) => null | T;} Properties
parse
parse: ( address: PublicKey, accountData: undefined | null | AccountInfo<Buffer<ArrayBufferLike>>,) => null | T Type declaration
- (
address: PublicKey,
accountData: undefined | null | AccountInfo<Buffer<ArrayBufferLike>>,
): null | T Parameters
- address: PublicKey
- accountData: undefined | null | AccountInfo<Buffer<ArrayBufferLike>>
Returns null | T
Parsed entity
Static abstract class definition to parse entities.