Adds a unique Nonce with each query.
Enabling will prevent queries from being answered with a cached response.
example
const agent = new HttpAgent({ useQueryNonces: true });
agent.addTransform(makeNonceTransform(makeNonce);
default
false
Optional verifyQuerySignatures
verifyQuerySignatures?:boolean
Whether the agent should verify signatures signed by node keys on query responses. Increases security, but adds overhead and must make a separate request to cache the node keys for the canister's subnet.
Number of times to retry requests before throwing an error
3