WINR Protocol
  • What is WINR?
  • iGaming, Decentralized.
  • Roadmap
  • WINR Protocol
    • WINR VRF
      • Elliptic Curve VRF
      • Verification in WINR
    • Games
    • High-Leverage Trading
    • WINR Wallet
      • Using the WINR Wallet: Quick-Start Guide
    • Liquidity
      • Evolution from WLP to Single-Sided Pools
      • Key Changes in Liquidity Management
      • Distribution Structure
      • Customizable Pools and LP Tokens
      • Security Measures
    • Staking
      • Previous Staking Mechanism
      • Transition to the New WINR Staking on WINR Chain
      • Migration from Arbitrum to WINR Chain
      • Profit Distribution and Epoch Structure
    • Rewards
      • Reward Types
      • Levels and Badges
      • Referral Rewards
    • Fees
  • WINR Chain
    • Overview
    • Core Features of WINR Chain
      • Speed, Reliability, and Cost Effectiveness
      • Account Abstraction
      • Price Feed and RNG Services
    • WINR Bridge: Seamless Cross-Chain Transactions
      • Deposit and Withdrawal Flows on WINR Chain
      • Native Token Transfers with Arbitrum Orbit
      • Cross-Chain Token Bridging with SuperBridge by Socket.io
    • RPC Endpoints and Providers
    • Running a Full Node on WINR Chain
  • BUILD ON WINR
    • Become a Frontend Operator
      • Ready to Use Templates
      • Setting Up Revenue Accounts
      • Deploying Single-Sided LPs
      • Deploy Unique Game Contracts
    • Build a Game
      • WINR Game SDK
      • Example Smart Contract
      • Interacting with VRF and Smart Wallet
      • Interacting with a Frontend
  • EXTRA
    • Governance
    • Tokenomics
    • Contracts
    • Media Kit
    • Audits
Powered by GitBook
On this page
  • Available RPC Endpoints
  • How to Connect to WINR Chain Using RPC Endpoints
  1. WINR Chain

RPC Endpoints and Providers

This section includes some of the possible ways in which one could connect to the WINR Chain, using the following Remote Procedure Call (RPC) endpoints. The provided endpoints are a gateway for developers and users to interact with the WINR Chain network-enabling various use cases such as sending transactions and querying data on the blockchain using smart contracts.

Available RPC Endpoints

HTTP Endpoint

  • URL: https://rpc.winr.games

  • Description: The endpoint is ideal to perform standard API requests over HTTP. It provides a persistent connection suitable for one-time interaction like balance queries, fetching transactions details, or even sending transactions. This is helpful in scenarios where your application doesn't need any updates in real-time, or doesn't require persistence of any kind.

WebSocket (WS) Endpoint

  • URL: wss://rpc-ws.winr.games

  • Description: This WebSocket endpoint is designed for applications that require continuous feeds of data in real time and event-driven. It will have a persistent connection that is necessary for use cases like tracking live events, getting instant confirmation of transactions, or building real-time dApps, such as gaming stations or trading stations.

How to Connect to WINR Chain Using RPC Endpoints

  • For Developers: Implement the RPC endpoint of your choice in the codebase of your application. To connect using Web3.js over WebSocket, for example:

javascript Copy code const Web3 = require("web3"); 
const web3 = new Web3("wss://rpc-ws.winr.games"); 
  • For Wallet Users: To add WINR Chain in a wallet like MetaMask, the user has to fill in the URL of the HTTP endpoint (https://rpc.winr.games) in addition to other data concerning the chain in question in the network settings.

These endpoints will empower both developers and users to interact seamlessly with the WINR Chain, hence guaranteeing that the network will be utilized effectively and reliably.

PreviousCross-Chain Token Bridging with SuperBridge by Socket.ioNextRunning a Full Node on WINR Chain

Last updated 2 months ago