fetchMinaAccount
Callable
Parameters
params: { force?: boolean; publicKey: string | PublicKey; tokenId?: string | Field }
the parameters for fetching the account
optionalforce: boolean
whether to force the fetch - use it only if you are sure the account exists
publicKey: string | PublicKey
the public key of the account
optionaltokenId: string | Field
the token id of the account
Returns Promise<{} | { account: undefined }>
the account object
Fetches the Mina account for a given public key with error handling