UNPKG

@rep3/rep3-sdk

Version:

`rep3-sdk` is the ts package for projects to integrate rep3-protocol and services in their projects. This documentation will provide various ways and code snippets for the same. To know more about the protocol head over to our [docs](https://docs.rep3.gg/

11 lines (10 loc) 423 B
import { RelayRequestResponse } from '../types'; export declare enum RelayMethodFunctionCall { REGISTER = 0, ADD_APPROVER = 1, REMOVE_APPROVER = 2, CLAIM = 3, BURN = 4, APPROVE = 5 } export declare const relayerServerCall: (relayerUrl: string, relayerToken: string, functionCall: RelayMethodFunctionCall, request: any, signature: string, chainId: number) => Promise<RelayRequestResponse>;