diff --git a/packages/library/src/runtime/Balances.ts b/packages/library/src/runtime/Balances.ts index bffeae88..38c14786 100644 --- a/packages/library/src/runtime/Balances.ts +++ b/packages/library/src/runtime/Balances.ts @@ -57,7 +57,7 @@ export class Balances ): Promise { const key = new BalancesKey({ tokenId, address }); const balanceOption = await this.balances.get(key); - return Balance.Unsafe.fromField(balanceOption.value.value); + return Balance.Safe.fromField(balanceOption.value.value); } public async setBalance(