Skip to main content

index/interfaces/RequestHeaderParts.md

What an SDK request adds to the headers the wire options describe.

Properties​

PropertyTypeDescription
defaults?Record<string, string>Headers the SDK sends unless wire.headers replaces them (for example Accept).
fixed?Record<string, string>Headers that carry the request's meaning (X-Wallet-Address, X-Shadow). They come last and replace a same-named wire.headers entry, so an app's static headers can never re-attribute or un-shadow a write.
json?booleanThe request carries a JSON body: Content-Type: application/json unless wire.headers sets one.