File tree Expand file tree Collapse file tree 1 file changed +12
-14
lines changed Expand file tree Collapse file tree 1 file changed +12
-14
lines changed Original file line number Diff line number Diff line change @@ -41,6 +41,12 @@ paths:
41
41
solanaRules :
42
42
description : Rules for "solana" policy type. Empty if `policyType` is not "solana".
43
43
$ref : " #/components/schemas/SolanaRules"
44
+ networks :
45
+ description : |
46
+ Networks for the policy. Example: ["ETH_MAINNET"]. For Solana policies, valid values are "SOLANA_MAINNET" and "SOLANA_DEVNET".
47
+ type : array
48
+ items :
49
+ type : string
44
50
responses :
45
51
" 200 " :
46
52
description : Policy created successfully
@@ -145,6 +151,12 @@ paths:
145
151
solanaRules :
146
152
$ref : " #/components/schemas/SolanaRules"
147
153
description : Rules for "solana" policy type. Empty if `policyType` is not "solana".
154
+ networks :
155
+ description : |
156
+ Networks for the policy. Example: ["ETH_MAINNET"]. For Solana policies, valid values are "SOLANA_MAINNET" and "SOLANA_DEVNET".
157
+ type : array
158
+ items :
159
+ type : string
148
160
responses :
149
161
" 200 " :
150
162
description : Policy rules replaced successfully
@@ -472,13 +484,6 @@ components:
472
484
required :
473
485
- webhookUrl
474
486
- approveOnFailure
475
- networks :
476
- description : Networks for the policy
477
- type : array
478
- items :
479
- type : string
480
- default :
481
- - ETH_MAINNET
482
487
required :
483
488
- startTimeUnix
484
489
- sponsorshipExpiryMs
@@ -506,13 +511,6 @@ components:
506
511
type : string
507
512
description : Unix timestamp of when the policy ends
508
513
default : " 1679340742"
509
- networks :
510
- type : array
511
- items :
512
- type : string
513
- description : List of networks the policy is active on
514
- default :
515
- - " SOLANA_MAINNET"
516
514
517
515
Policy :
518
516
type : object
You can’t perform that action at this time.
0 commit comments