mirror of
https://github.com/0xbow-io/privacy-pools-core.git
synced 2026-01-09 01:17:58 -05:00
squash with refactor clerer types
This commit is contained in:
@@ -42,6 +42,16 @@ const relayRequestSchema: JSONSchemaType<RelayRequestBody> = {
|
||||
},
|
||||
scope: { type: "string" },
|
||||
chainId: { type: ["string", "number"] },
|
||||
feeCommitment: {
|
||||
type: "object",
|
||||
properties: {
|
||||
expiration: { type: "number" },
|
||||
withdrawalData: { type: "string", pattern: "0x[0-9a-fA-F]+" },
|
||||
signedRelayerCommitment: { type: "string", pattern: "0x[0-9a-fA-F]+" }
|
||||
},
|
||||
nullable: true,
|
||||
required: ["expiration", "signedRelayerCommitment"]
|
||||
}
|
||||
},
|
||||
required: ["withdrawal", "proof", "publicSignals", "scope", "chainId"],
|
||||
} as const;
|
||||
|
||||
Reference in New Issue
Block a user