Functions
storageBalanceOf
- storageBalanceOf(account: Account, contractId: string, accountId?: string): Promise<StorageBalance<BN> | null>
Parameters
account: Account
contractId: string
Optional accountId: string
storageDeposit
- storageDeposit(account: Account, contractId: string, args: StorageDepositArgs, gas?: BN): Promise<{ executionOutcome: FinalExecutionOutcome; result: StorageBalance<BN> }>
Parameters
account: Account
contractId: string
args: StorageDepositArgs
gas: BN = DEFAULT_GAS
Returns Promise<{ executionOutcome: FinalExecutionOutcome; result: StorageBalance<BN> }>
Deposit storage balance