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

    Interface SafeGpaBuilderDeserializationResult<Account>

    The result of a safe deserialization attempt for a single account. Each entry preserves the index from the original getProgramAccounts response. On success, account is populated and error is undefined. On failure, error is a SdkError and account is undefined.

    interface SafeGpaBuilderDeserializationResult<
        Account extends object = RpcAccount,
    > {
        account?: Account;
        error?: SdkError;
        rpcAccount: RpcAccount;
    }

    Type Parameters

    Index

    Properties

    account?: Account
    error?: SdkError
    rpcAccount: RpcAccount