resources method initializes and returns an instance of the @wharfkit/resources library. This class can be used to obtain information about the resources available to a specific blockchain account.
resources method is available on any Account instance. Here is an example of how to use it:
const resources = account.resources()
sampleAccount: The name of a sample account. It is used to specify the account to use when sampling overall network usage.
resources method returns an instance of the
Resources class in the @wharfkit/resources library.