Function: isCantonPaymentRequiredResponse()
function isCantonPaymentRequiredResponse(x): x is { accepts: { amount: string; asset: string; extra: { assetTransferMethod: "transfer-factory"; executeBeforeSeconds: number; feePayer: string; instrumentId: { admin: string; id: string }; memo?: string; synchronizerId: string } & { [key: string]: unknown }; maxTimeoutSeconds: number; network: string; payTo: string; scheme: string }[]; error?: string; extensions?: { [key: string]: unknown } | null; resource: { description?: string | null; iconUrl?: string | null; mimeType?: string | null; serviceName?: string | null; tags?: string[] | null; url: string } & { [key: string]: unknown }; x402Version: 2 };Defined in: packages/x402-core/src/types/requirements.ts:229
@chainsafe/x402-core
Shared x402 Canton wire types + canonical requirements hashing.
Parameters
x
unknown
Returns
x is { accepts: { amount: string; asset: string; extra: { assetTransferMethod: "transfer-factory"; executeBeforeSeconds: number; feePayer: string; instrumentId: { admin: string; id: string }; memo?: string; synchronizerId: string } & { [key: string]: unknown }; maxTimeoutSeconds: number; network: string; payTo: string; scheme: string }[]; error?: string; extensions?: { [key: string]: unknown } | null; resource: { description?: string | null; iconUrl?: string | null; mimeType?: string | null; serviceName?: string | null; tags?: string[] | null; url: string } & { [key: string]: unknown }; x402Version: 2 }