Skip to content

Error When Calling BalanceOfAsync #40

@h128

Description

@h128

I got an error when calling BalanceOfAsync
ArgumentOutOfRangeException: Specified argument was out of the range of valid values. (Parameter 'index')
Google.Protobuf.Collections.RepeatedField.get_Item(int index)
TronNet.Contracts.TRC20ContractClient.GetDecimals(WalletClient wallet, byte[] contractAddressBytes)
TronNet.Contracts.TRC20ContractClient.BalanceOfAsync(string contractAddress, ITronAccount ownerAccount)
CryptoPayment.WebUI.Controllers.WeatherForecastController.Get(IWalletClient _wallet, IContractClientFactory

my code:
var balance = await contractClient.BalanceOfAsync("TR7NHqjeKQxGTCi8q8ZY4pL8otSzgjLj6t", wallet);

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions