Skip to content

Interface: X402FetchOptions

Defined in: rine-ts-sdk/src/resources/x402-fetch.ts:28

Properties

Property Type Description Defined in
agentId string Agent id whose wallet signs (the keys/{agentId}/ folder). rine-ts-sdk/src/resources/x402-fetch.ts:32
configDir string Config dir holding the agent's wallet key + spend policy. rine-ts-sdk/src/resources/x402-fetch.ts:30
fetchImpl? { (input, init?): Promise\<Response>; (input, init?): Promise\<Response>; } Injectable fetch (defaults to global fetch) — for tests / custom agents. rine-ts-sdk/src/resources/x402-fetch.ts:34