Rawrshak_Unity-Asset-Viewer-Project/Assets/Rawrshak/Packages/WalletConnectUnity/Scripts/WalletConnectSharp/WalletConnectSharp.Core/Models/Ethereum/WalletAddEthChain.cs
using Newtonsoft.Json;

namespace WalletConnectSharp.Core.Models.Ethereum
{
    public class WalletAddEthChain : JsonRpcRequest
    {
        [JsonProperty("params")] 
        private EthChainData[] _parameters;

        [JsonIgnore]
        public EthChainData[] Parameters => _parameters;

        public WalletAddEthChain(EthChainData chainData) : base()
        {
            this.Method = "wallet_addEthereumChain";
            this._parameters = new[] { chainData };
        }
    }
}