Resources
The 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.
Usage
The resources
method is available on any Account instance. Here is an example of how to use it:
const resources = account.resources()
Options
sampleAccount
: The name of a sample account. It is used to specify the account to use when sampling overall network usage.
Return Value
The resources
method returns an instance of the Resources
class in the @wharfkit/resources library.