Skip to main content

fetchMinaAccount

Callable

  • fetchMinaAccount(params: { force?: boolean; publicKey: string | PublicKey; tokenId?: string | Field }): Promise<{} | { account: undefined }>

  • Fetches the Mina account for a given public key with error handling


    Parameters

    • params: { force?: boolean; publicKey: string | PublicKey; tokenId?: string | Field }

      the parameters for fetching the account

    Returns Promise<{} | { account: undefined }>

    the account object