Pq402FetchOptions
Defined in: packages/client/src/fetch.ts:43
Properties
Section titled “Properties”chainId
Section titled “chainId”chainId:
string
Defined in: packages/client/src/fetch.ts:51
QoreChain chain id the client expects in the sealing declaration, e.g. qorechain-diana.
fetch?
Section titled “fetch?”
optionalfetch?: {(input,init?):Promise<Response>; (input,init?):Promise<Response>; }
Defined in: packages/client/src/fetch.ts:61
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>
keys:
KeyDirectory
Defined in: packages/client/src/fetch.ts:49
Reads the gateway’s keys from the chain; the 402 only names the gateway.
maxAmount
Section titled “maxAmount”maxAmount:
bigint
Defined in: packages/client/src/fetch.ts:53
Refuse to pay more than this, in atomic units of the asset.
mldsaSecretKey
Section titled “mldsaSecretKey”mldsaSecretKey:
Uint8Array
Defined in: packages/client/src/fetch.ts:46
optionalnow?: () =>number
Defined in: packages/client/src/fetch.ts:62
Returns
Section titled “Returns”number
payer:
`0x${string}`
Defined in: packages/client/src/fetch.ts:45
The paying account (0x form); its ML-DSA-87 and ML-KEM-1024 keys must be registered on chain.
perennial?
Section titled “perennial?”
optionalperennial?:object
Defined in: packages/client/src/fetch.ts:58
Pay from this Perennial position (the payer is its beneficiary) whenever
the server offers pq-perennial; otherwise pay from the escrow (pq-erc20).
positionId
Section titled “positionId”positionId:
bigint
sealKeys
Section titled “sealKeys”sealKeys:
SealKeyPair
Defined in: packages/client/src/fetch.ts:47
sealRequests?
Section titled “sealRequests?”
optionalsealRequests?:boolean
Defined in: packages/client/src/fetch.ts:60
Seal request bodies whenever the server offers it. Default true.