import { GetUserDetailsRequest } from '../../lib/util' ; import { getUserDetails } from '../../service/userDetails' ; import { UserDetails } from '../../lib/UserDetails' ; import { SolanaUtil } from '../../lib/solana/solanaUtil' ; param request export const get = async ( request ) : Promise < UserDetails | null > => { const connection = SolanaUtil . getConnection ( request . cluster ) ; return getUserDetails ( request . did , false , connection ) ; } ;