Rally Protocol
Comment on page

Using without mobile sdk


At a high level submitting transactions to our infrastructure is a 2 step process:
  1. 1.
    Sign a transaction on the client (web, backend, etc)
  2. 2.
    Create a HTTP request containing a JSON payload with details about the transaction you'd like to relay.

Generate your API key

Navigate to https://app.rallyprotocol.com/ to generate API keys for both Mumbai and mainnet Polygon.

Using an existing Gas Station Network Client Library.

Our hosted transaction infrastructure honors the Gas Station Network interface with the addition of an authentication HTTP header containing your API key. If you're already using a GSN client the following steps should be all you need to change:
  1. 1.
    Set http://api.rallyprotocol.com as your relay URL.
  2. 2.
    Add the following header to the HTTP request Authorization: Bearer <YOUR_API_TOKEN>

Submitting Requests Without a GSN Library

Examples coming soon. Reach out to us on Discord and we'll happily walk you through it