ShutterApiOptions
Defined in: api.ts:13
Properties
Section titled “Properties”apiKey?
Section titled “apiKey?”
readonlyoptionalapiKey?:string| (() =>string|undefined)
Defined in: api.ts:21
An API key (Authorization: Bearer …) lifts the per-IP limits (mainnet without a key: 5 registrations, 10
encryption-data and 20 decryption-key requests per 24 h). A getter is read on every request. In a mobile app,
prefer calling through your backend rather than shipping a key in the bundle.
fetch?
Section titled “fetch?”
readonlyoptionalfetch?: {(input,init?):Promise<Response>; (input,init?):Promise<Response>; }
Defined in: api.ts:22
Call Signature
Section titled “Call Signature”(
input,init?):Promise<Response>
Parameters
Section titled “Parameters”URL | RequestInfo
RequestInit
Returns
Section titled “Returns”Promise<Response>
Call Signature
Section titled “Call Signature”(
input,init?):Promise<Response>
Parameters
Section titled “Parameters”string | URL | Request
RequestInit
Returns
Section titled “Returns”Promise<Response>
network?
Section titled “network?”
readonlyoptionalnetwork?:ShutterNetwork
Defined in: api.ts:15
Default Gnosis mainnet.
timeoutMs?
Section titled “timeoutMs?”
readonlyoptionaltimeoutMs?:number
Defined in: api.ts:24
Per-request timeout, ms. Default 15 000.