Get the account's photon and entropy resources.
Usage
visionWeb.vs.getAccountResources(address);
Parameters
Parameter | Description | Type | Default |
---|---|---|---|
address | account address | string | - |
Returns
Object
Example
visionWeb.vs.getAccountResources("VJJKvvPZ1cLkRoeYmswWPYdwi9Y2mkK8c8");
> {
freePhotonUsed: 52,
freePhotonLimit: 5000,
TotalPhotonLimit: 43200000000,
TotalEntropyLimit: 50000000000000,
TotalEntropyWeight: 100
}