Resonance Gas Relayer API

Execute gasless transactions

GitHub OpenAPI

Operations 1

POST /relay Execute gasless transaction #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/rsnc-network:rsnc-network-gas-relayer-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

rsnc-network-gas-relayer-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Resonance Gas Relayer API
  description: 'Complete REST API for Resonance loyalty platform. Track events, distribute rewards, manage wallets.


    ## Base URLs


    - **Event Handler**: `https://api.rsnc.network`

    - **Gas Relayer**: `https://relayer.rsnc.network`

    - **Pregeneration**: `https://register.rsnc.network`


    ## Authentication


    Most endpoints use Brand ID authentication (included in request body).

    Gas Relayer requires Privy Bearer token authentication.'
  version: 1.0.0
  contact:
    name: Resonance Support
    email: support@rsnc.network
    url: https://docs.rsnc.network
  license:
    name: MIT
    url: https://opensource.org/licenses/MIT
  externalDocs:
    description: Full Documentation
    url: https://docs.rsnc.network/api/rest-api
servers:
- url: https://api.rsnc.network
  description: Production API
- url: https://relayer.rsnc.network
  description: Gas Relayer API
- url: https://register.rsnc.network
  description: OAuth Pregeneration API
tags:
- name: Gas Relayer
  description: Execute gasless transactions
paths:
  /relay:
    post:
      tags:
      - Gas Relayer
      summary: Execute gasless transaction
      description: 'Execute a blockchain transaction on behalf of a user without requiring them to pay gas fees.

        Requires Privy authentication.'
      operationId: relayTransaction
      security:
      - PrivyAuth: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/RelayRequest'
      responses:
        '200':
          description: Transaction executed successfully
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RelayResponse'
        '401':
          description: Unauthorized - invalid Privy token
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '403':
          description: Transaction validation failed
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '429':
          description: Rate limit exceeded
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RateLimitError'
components:
  schemas:
    RelayResponse:
      type: object
      properties:
        success:
          type: boolean
          example: true
        transactionHash:
          type: string
          pattern: ^0x[a-fA-F0-9]{64}$
          example: '0xabcdef1234567890abcdef1234567890abcdef1234567890abcdef1234567890'
        gasUsed:
          type: string
          example: '250000'
        effectiveGasPrice:
          type: string
          example: '25000000000'
        blockNumber:
          type: integer
          example: 12345678
        from:
          type: string
          description: Dev wallet address that executed transaction
        to:
          type: string
          description: Contract address called
        status:
          type: string
          enum:
          - pending
          - confirmed
          - failed
    RateLimitError:
      allOf:
      - $ref: '#/components/schemas/ErrorResponse'
      - type: object
        properties:
          retryAfter:
            type: integer
            description: Seconds to wait before retrying
            example: 3600
          details:
            type: object
            properties:
              message:
                type: string
              reason:
                type: string
                enum:
                - cooldown_not_expired
                - rate_limit_exceeded
              cooldownSeconds:
                type: integer
    RelayRequest:
      type: object
      required:
      - to
      - data
      - userAddress
      properties:
        to:
          type: string
          pattern: ^0x[a-fA-F0-9]{40}$
          description: Contract address to call
          example: '0x997f05E7447Fdde75d47eBb12D4D6C65013AA0Da'
        data:
          type: string
          pattern: ^0x[a-fA-F0-9]+$
          description: Encoded function call data (hex string)
          example: 0x1234abcd...
        value:
          type: string
          default: '0'
          description: ETH value to send (in wei)
          example: '0'
        gasLimit:
          type: integer
          description: Maximum gas limit
          example: 500000
        userAddress:
          type: string
          pattern: ^0x[a-fA-F0-9]{40}$
          description: User's wallet address
          example: '0x1234567890123456789012345678901234567890'
        metadata:
          type: object
          properties:
            action:
              type: string
              example: claim_perk
            perkId:
              type: string
            permit:
              $ref: '#/components/schemas/Permit'
    ErrorResponse:
      type: object
      properties:
        success:
          type: boolean
          example: false
        error:
          type: string
          description: Human-readable error message
          example: Invalid email address
        code:
          type: string
          description: Machine-readable error code
          example: INVALID_EMAIL
        details:
          type: object
          additionalProperties: true
          description: Additional error details
          properties:
            errors:
              type: array
              items:
                type: string
            field:
              type: string
            value:
              type: string
    Permit:
      type: object
      properties:
        owner:
          type: string
          pattern: ^0x[a-fA-F0-9]{40}$
        spender:
          type: string
          pattern: ^0x[a-fA-F0-9]{40}$
        value:
          type: string
        deadline:
          type: integer
        v:
          type: integer
        r:
          type: string
        s:
          type: string
  securitySchemes:
    PrivyAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT
      description: Privy access token from Privy SDK