Class: Turnkey
Defined in: packages/sdk-server/src/sdk-client.ts:27Constructors
Constructor
new Turnkey(Defined in: packages/sdk-server/src/sdk-client.ts:32config):TurnkeyServerSDK
Parameters
config
TurnkeySDKServerConfig
Returns
TurnkeyServerSDK
Properties
config
config: TurnkeySDKServerConfig
Defined in: packages/sdk-server/src/sdk-client.ts:28
stamper
Defined in: packages/sdk-server/src/sdk-client.ts:30protectedstamper:undefined|ApiKeyStamper
Methods
apiClient()
apiClient(Defined in: packages/sdk-server/src/sdk-client.ts:36apiCredentials?):TurnkeyApiClient
Parameters
apiCredentials?
ApiCredentials
Returns
TurnkeyApiClient
apiProxy()
apiProxy(Defined in: packages/sdk-server/src/sdk-client.ts:50methodName,params):Promise<any>
Parameters
methodName
string
params
any[]
Returns
Promise<any>
expressProxyHandler()
expressProxyHandler(Defined in: packages/sdk-server/src/sdk-client.ts:62config):RequestHandler
Parameters
config
TurnkeyProxyHandlerConfig
Returns
RequestHandler
nextProxyHandler()
nextProxyHandler(Defined in: packages/sdk-server/src/sdk-client.ts:91config):NextApiHandler
Parameters
config
TurnkeyProxyHandlerConfig
Returns
NextApiHandler