index/interfaces/GatewayReadsOptions.md
How to reach the gateway for reads. Reads are unsigned: no signer is involved.
Properties
| Property | Type | Description |
|---|---|---|
gatewayBaseUrl | string | The GalaChain gateway base URL; every read POSTs to <gatewayBaseUrl>/api/<channel>/<contract>/<Method> (token-contract, or public-key-contract for GetPublicKey). '' sends the bare path, for an httpRequestor that resolves paths against its own base (an HTTP client with a base URL). The public gateways do not route the public-key-contract; a connect-api's .../galachain proxy base does. |
httpRequestor? | HttpRequestor | The HTTP requestor; default the global fetch. Its own rejections reach the caller unchanged. |
requestTimeoutMs? | number | Timeout of every read request in milliseconds (default 30 000); Infinity arms no timer. |
wire? | WireOptions | Headers of every read request (userAgent, headers); see WireOptions. |
gateway base url get public key http requestor request timeout ms wire options user agent