nooschain / tx-gossip/peer-transaction-client / createNodeAuthHeaders
Function: createNodeAuthHeaders()
createNodeAuthHeaders(
body,auth?):Record<string,string>
Defined in: tx-gossip/peer-transaction-client.ts:50
Creates signed node-auth headers for /transactions/gossip.
If auth is omitted, the caller intentionally sends no node-auth headers; production deployments should configure node auth for trusted-peer gossip.
Parameters
body
unknown
auth?
Returns
Record<string, string>