Umi — API References - v1.3.0
    Preparing search index...

    Type Alias FetchAccountInput<T>

    Defines the input for a single account to be fetched and deserialized as part of a mixed-account batch fetch.

    The deserialize callback must return an Account (i.e. an object augmented with publicKey and header), matching the shape produced by the kinobi-generated deserializeX helpers.

    type FetchAccountInput<T extends Account<object>> = {
        deserialize: (rawAccount: RpcAccount) => T;
        publicKey: PublicKey | Pda;
    }

    Type Parameters

    • T extends Account<object>

      The deserialized account type.

    Index

    Properties

    deserialize: (rawAccount: RpcAccount) => T
    publicKey: PublicKey | Pda