Skip to main content

fetchMinaAccount

Callable

  • fetchMinaAccount(params: { force?: boolean; publicKey: any; tokenId?: any }): Promise<any>

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


    Parameters

    • params: { force?: boolean; publicKey: any; tokenId?: any }

      the parameters for fetching the account

      • optionalforce: boolean

        whether to force the fetch - use it only if you are sure the account exists

      • publicKey: any

        the public key of the account

      • optionaltokenId: any

        the token id of the account

    Returns Promise<any>

    the account object