public static RpcNep17Balances FromJson(JObject json)
        {
            RpcNep17Balances nep17Balance = new RpcNep17Balances
            {
                Balances       = ((JArray)json["balance"]).Select(p => RpcNep17Balance.FromJson(p)).ToList(),
                UserScriptHash = json["address"].ToScriptHash()
            };

            return(nep17Balance);
        }
        public static RpcNep17Balance FromJson(JObject json)
        {
            RpcNep17Balance balance = new RpcNep17Balance
            {
                AssetHash        = json["assethash"].ToScriptHash(),
                Amount           = BigInteger.Parse(json["amount"].AsString()),
                LastUpdatedBlock = (uint)json["lastupdatedblock"].AsNumber()
            };

            return(balance);
        }
        public static RpcNep17Balances FromJson(JObject json, ProtocolSettings protocolSettings)
        {
            RpcNep17Balances nep17Balance = new()
            {
                Balances       = ((JArray)json["balance"]).Select(p => RpcNep17Balance.FromJson(p, protocolSettings)).ToList(),
                UserScriptHash = json["address"].ToScriptHash(protocolSettings)
            };

            return(nep17Balance);
        }
    }