Skip to content

getAuthDetails

getAuthDetails returns the details about the authenticated user, specifically all EOA addresses tied to the user's Fireblocks vault.

This method must be called after authenticate. Otherwise, this method will throw an error with the message Not Authenticated.

Usage

example.ts
import { createFireblocksSigner } from "./fireblocks";

const fireblocksSigner = await createFireblocksSigner();
 
const details = await fireblocksSigner.getAuthDetails();

Returns

Promise<FireblocksUserInfo>

A Promise containing the FireblocksUserInfo, an object with the following fields:

  • addresses: Address[] -- all EOA addresses accessible via the user's Fireblocks vault.