@1claw/openapi-spec 0.48.1 → 0.48.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/openapi.json +114 -9
- package/openapi.yaml +80 -6
- package/package.json +1 -1
package/openapi.json
CHANGED
|
@@ -16727,6 +16727,9 @@
|
|
|
16727
16727
|
},
|
|
16728
16728
|
"consensus_trigger": {
|
|
16729
16729
|
"$ref": "#/components/schemas/ConsensusTrigger"
|
|
16730
|
+
},
|
|
16731
|
+
"tx_conditions": {
|
|
16732
|
+
"$ref": "#/components/schemas/TxConditions"
|
|
16730
16733
|
}
|
|
16731
16734
|
}
|
|
16732
16735
|
},
|
|
@@ -16766,6 +16769,9 @@
|
|
|
16766
16769
|
},
|
|
16767
16770
|
"consensus_trigger": {
|
|
16768
16771
|
"$ref": "#/components/schemas/ConsensusTrigger"
|
|
16772
|
+
},
|
|
16773
|
+
"tx_conditions": {
|
|
16774
|
+
"$ref": "#/components/schemas/TxConditions"
|
|
16769
16775
|
}
|
|
16770
16776
|
}
|
|
16771
16777
|
},
|
|
@@ -16841,6 +16847,9 @@
|
|
|
16841
16847
|
},
|
|
16842
16848
|
"consensus_trigger": {
|
|
16843
16849
|
"$ref": "#/components/schemas/ConsensusTrigger"
|
|
16850
|
+
},
|
|
16851
|
+
"tx_conditions": {
|
|
16852
|
+
"$ref": "#/components/schemas/TxConditions"
|
|
16844
16853
|
}
|
|
16845
16854
|
}
|
|
16846
16855
|
},
|
|
@@ -18482,6 +18491,11 @@
|
|
|
18482
18491
|
"type": "object",
|
|
18483
18492
|
"additionalProperties": true,
|
|
18484
18493
|
"description": "Raw XRPL transaction JSON for full transaction type coverage. When present (and chain is XRP), the handler uses the xrpl-rust binary codec to encode and sign the transaction as-is. Supports all XRPL transaction types: Payment, TrustSet, OfferCreate, OfferCancel, AccountSet, EscrowCreate, NFTokenMint, AMMCreate, and 20+ more. Account, Sequence, Fee, LastLedgerSequence, and SigningPubKey are auto-filled when absent.\n"
|
|
18494
|
+
},
|
|
18495
|
+
"approval_id": {
|
|
18496
|
+
"type": "string",
|
|
18497
|
+
"format": "uuid",
|
|
18498
|
+
"description": "Optional pending approval ID. When consensus policies match, clients resubmit with this field set to bypass the 202 gate after the approval has been executed.\n"
|
|
18485
18499
|
}
|
|
18486
18500
|
}
|
|
18487
18501
|
},
|
|
@@ -19131,6 +19145,11 @@
|
|
|
19131
19145
|
"type": "object",
|
|
19132
19146
|
"additionalProperties": true,
|
|
19133
19147
|
"description": "Raw XRPL transaction JSON for full transaction type coverage. When present (and chain is XRP), the handler uses the xrpl-rust binary codec to encode and sign the transaction as-is. Supports all XRPL transaction types: Payment, TrustSet, OfferCreate, OfferCancel, AccountSet, EscrowCreate, NFTokenMint, AMMCreate, and 20+ more. Account, Sequence, Fee, LastLedgerSequence, and SigningPubKey are auto-filled when absent.\n"
|
|
19148
|
+
},
|
|
19149
|
+
"approval_id": {
|
|
19150
|
+
"type": "string",
|
|
19151
|
+
"format": "uuid",
|
|
19152
|
+
"description": "Optional pending approval ID. When consensus policies match, clients resubmit with this field set to bypass the 202 gate after the approval has been executed.\n"
|
|
19134
19153
|
}
|
|
19135
19154
|
}
|
|
19136
19155
|
},
|
|
@@ -25808,13 +25827,22 @@
|
|
|
25808
25827
|
"type": "string"
|
|
25809
25828
|
},
|
|
25810
25829
|
"contract_address": {
|
|
25811
|
-
"type": "string"
|
|
25830
|
+
"type": "string",
|
|
25831
|
+
"description": "Contract address, or Solana program id when interface_kind is solana_idl"
|
|
25812
25832
|
},
|
|
25813
25833
|
"abi_json": {
|
|
25814
|
-
"
|
|
25815
|
-
"
|
|
25816
|
-
|
|
25817
|
-
|
|
25834
|
+
"description": "EVM ABI JSON array, or Solana IDL object when interface_kind is solana_idl",
|
|
25835
|
+
"oneOf": [
|
|
25836
|
+
{
|
|
25837
|
+
"type": "array",
|
|
25838
|
+
"items": {
|
|
25839
|
+
"type": "object"
|
|
25840
|
+
}
|
|
25841
|
+
},
|
|
25842
|
+
{
|
|
25843
|
+
"type": "object"
|
|
25844
|
+
}
|
|
25845
|
+
]
|
|
25818
25846
|
},
|
|
25819
25847
|
"name": {
|
|
25820
25848
|
"type": "string"
|
|
@@ -25824,6 +25852,14 @@
|
|
|
25824
25852
|
},
|
|
25825
25853
|
"token_decimals": {
|
|
25826
25854
|
"type": "integer"
|
|
25855
|
+
},
|
|
25856
|
+
"interface_kind": {
|
|
25857
|
+
"type": "string",
|
|
25858
|
+
"enum": [
|
|
25859
|
+
"evm_abi",
|
|
25860
|
+
"solana_idl"
|
|
25861
|
+
],
|
|
25862
|
+
"default": "evm_abi"
|
|
25827
25863
|
}
|
|
25828
25864
|
}
|
|
25829
25865
|
},
|
|
@@ -25845,10 +25881,18 @@
|
|
|
25845
25881
|
"type": "string"
|
|
25846
25882
|
},
|
|
25847
25883
|
"abi_json": {
|
|
25848
|
-
"
|
|
25849
|
-
"
|
|
25850
|
-
|
|
25851
|
-
|
|
25884
|
+
"description": "EVM ABI JSON array, or Solana IDL object",
|
|
25885
|
+
"oneOf": [
|
|
25886
|
+
{
|
|
25887
|
+
"type": "array",
|
|
25888
|
+
"items": {
|
|
25889
|
+
"type": "object"
|
|
25890
|
+
}
|
|
25891
|
+
},
|
|
25892
|
+
{
|
|
25893
|
+
"type": "object"
|
|
25894
|
+
}
|
|
25895
|
+
]
|
|
25852
25896
|
},
|
|
25853
25897
|
"name": {
|
|
25854
25898
|
"type": "string"
|
|
@@ -25859,6 +25903,14 @@
|
|
|
25859
25903
|
"token_decimals": {
|
|
25860
25904
|
"type": "integer"
|
|
25861
25905
|
},
|
|
25906
|
+
"interface_kind": {
|
|
25907
|
+
"type": "string",
|
|
25908
|
+
"enum": [
|
|
25909
|
+
"evm_abi",
|
|
25910
|
+
"solana_idl"
|
|
25911
|
+
],
|
|
25912
|
+
"default": "evm_abi"
|
|
25913
|
+
},
|
|
25862
25914
|
"created_by": {
|
|
25863
25915
|
"type": "string",
|
|
25864
25916
|
"format": "uuid"
|
|
@@ -25884,6 +25936,59 @@
|
|
|
25884
25936
|
}
|
|
25885
25937
|
}
|
|
25886
25938
|
},
|
|
25939
|
+
"TxConditions": {
|
|
25940
|
+
"type": "object",
|
|
25941
|
+
"description": "Signing-time AND conditions on access policies (all tiers).\nIgnored on secret reads. Evaluated when a TransactionContext is present.\n",
|
|
25942
|
+
"additionalProperties": true,
|
|
25943
|
+
"properties": {
|
|
25944
|
+
"function_name_in": {
|
|
25945
|
+
"type": "array",
|
|
25946
|
+
"items": {
|
|
25947
|
+
"type": "string"
|
|
25948
|
+
}
|
|
25949
|
+
},
|
|
25950
|
+
"function_selector_in": {
|
|
25951
|
+
"type": "array",
|
|
25952
|
+
"items": {
|
|
25953
|
+
"type": "string"
|
|
25954
|
+
}
|
|
25955
|
+
},
|
|
25956
|
+
"erc20_amount_above": {
|
|
25957
|
+
"type": "string"
|
|
25958
|
+
},
|
|
25959
|
+
"value_above": {
|
|
25960
|
+
"type": "string",
|
|
25961
|
+
"description": "Native value threshold in gwei"
|
|
25962
|
+
},
|
|
25963
|
+
"to_address_in": {
|
|
25964
|
+
"type": "array",
|
|
25965
|
+
"items": {
|
|
25966
|
+
"type": "string"
|
|
25967
|
+
}
|
|
25968
|
+
},
|
|
25969
|
+
"chain_in": {
|
|
25970
|
+
"type": "array",
|
|
25971
|
+
"items": {
|
|
25972
|
+
"type": "string"
|
|
25973
|
+
}
|
|
25974
|
+
},
|
|
25975
|
+
"intent_type_in": {
|
|
25976
|
+
"type": "array",
|
|
25977
|
+
"items": {
|
|
25978
|
+
"type": "string"
|
|
25979
|
+
}
|
|
25980
|
+
},
|
|
25981
|
+
"decode_failed": {
|
|
25982
|
+
"type": "boolean"
|
|
25983
|
+
},
|
|
25984
|
+
"program_id_in": {
|
|
25985
|
+
"type": "array",
|
|
25986
|
+
"items": {
|
|
25987
|
+
"type": "string"
|
|
25988
|
+
}
|
|
25989
|
+
}
|
|
25990
|
+
}
|
|
25991
|
+
},
|
|
25887
25992
|
"ConsensusTrigger": {
|
|
25888
25993
|
"type": "object",
|
|
25889
25994
|
"required": [
|
package/openapi.yaml
CHANGED
|
@@ -10730,6 +10730,8 @@ components:
|
|
|
10730
10730
|
additionalProperties: true
|
|
10731
10731
|
consensus_trigger:
|
|
10732
10732
|
$ref: "#/components/schemas/ConsensusTrigger"
|
|
10733
|
+
tx_conditions:
|
|
10734
|
+
$ref: "#/components/schemas/TxConditions"
|
|
10733
10735
|
|
|
10734
10736
|
UpdatePolicyRequest:
|
|
10735
10737
|
type: object
|
|
@@ -10757,6 +10759,8 @@ components:
|
|
|
10757
10759
|
additionalProperties: true
|
|
10758
10760
|
consensus_trigger:
|
|
10759
10761
|
$ref: "#/components/schemas/ConsensusTrigger"
|
|
10762
|
+
tx_conditions:
|
|
10763
|
+
$ref: "#/components/schemas/TxConditions"
|
|
10760
10764
|
|
|
10761
10765
|
PolicyResponse:
|
|
10762
10766
|
type: object
|
|
@@ -10813,6 +10817,8 @@ components:
|
|
|
10813
10817
|
additionalProperties: true
|
|
10814
10818
|
consensus_trigger:
|
|
10815
10819
|
$ref: "#/components/schemas/ConsensusTrigger"
|
|
10820
|
+
tx_conditions:
|
|
10821
|
+
$ref: "#/components/schemas/TxConditions"
|
|
10816
10822
|
|
|
10817
10823
|
PolicyListResponse:
|
|
10818
10824
|
type: object
|
|
@@ -12005,6 +12011,13 @@ components:
|
|
|
12005
12011
|
OfferCancel, AccountSet, EscrowCreate, NFTokenMint, AMMCreate,
|
|
12006
12012
|
and 20+ more. Account, Sequence, Fee, LastLedgerSequence, and
|
|
12007
12013
|
SigningPubKey are auto-filled when absent.
|
|
12014
|
+
approval_id:
|
|
12015
|
+
type: string
|
|
12016
|
+
format: uuid
|
|
12017
|
+
description: >
|
|
12018
|
+
Optional pending approval ID. When consensus policies match,
|
|
12019
|
+
clients resubmit with this field set to bypass the 202 gate
|
|
12020
|
+
after the approval has been executed.
|
|
12008
12021
|
|
|
12009
12022
|
SignTransactionRequest:
|
|
12010
12023
|
type: object
|
|
@@ -12472,6 +12485,13 @@ components:
|
|
|
12472
12485
|
OfferCancel, AccountSet, EscrowCreate, NFTokenMint, AMMCreate,
|
|
12473
12486
|
and 20+ more. Account, Sequence, Fee, LastLedgerSequence, and
|
|
12474
12487
|
SigningPubKey are auto-filled when absent.
|
|
12488
|
+
approval_id:
|
|
12489
|
+
type: string
|
|
12490
|
+
format: uuid
|
|
12491
|
+
description: >
|
|
12492
|
+
Optional pending approval ID. When consensus policies match,
|
|
12493
|
+
clients resubmit with this field set to bypass the 202 gate
|
|
12494
|
+
after the approval has been executed.
|
|
12475
12495
|
|
|
12476
12496
|
SignIntentResponse:
|
|
12477
12497
|
type: object
|
|
@@ -16990,16 +17010,24 @@ components:
|
|
|
16990
17010
|
type: string
|
|
16991
17011
|
contract_address:
|
|
16992
17012
|
type: string
|
|
17013
|
+
description: Contract address, or Solana program id when interface_kind is solana_idl
|
|
16993
17014
|
abi_json:
|
|
16994
|
-
|
|
16995
|
-
|
|
16996
|
-
type:
|
|
17015
|
+
description: EVM ABI JSON array, or Solana IDL object when interface_kind is solana_idl
|
|
17016
|
+
oneOf:
|
|
17017
|
+
- type: array
|
|
17018
|
+
items:
|
|
17019
|
+
type: object
|
|
17020
|
+
- type: object
|
|
16997
17021
|
name:
|
|
16998
17022
|
type: string
|
|
16999
17023
|
description:
|
|
17000
17024
|
type: string
|
|
17001
17025
|
token_decimals:
|
|
17002
17026
|
type: integer
|
|
17027
|
+
interface_kind:
|
|
17028
|
+
type: string
|
|
17029
|
+
enum: [evm_abi, solana_idl]
|
|
17030
|
+
default: evm_abi
|
|
17003
17031
|
|
|
17004
17032
|
ContractAbiResponse:
|
|
17005
17033
|
type: object
|
|
@@ -17015,15 +17043,22 @@ components:
|
|
|
17015
17043
|
contract_address:
|
|
17016
17044
|
type: string
|
|
17017
17045
|
abi_json:
|
|
17018
|
-
|
|
17019
|
-
|
|
17020
|
-
type:
|
|
17046
|
+
description: EVM ABI JSON array, or Solana IDL object
|
|
17047
|
+
oneOf:
|
|
17048
|
+
- type: array
|
|
17049
|
+
items:
|
|
17050
|
+
type: object
|
|
17051
|
+
- type: object
|
|
17021
17052
|
name:
|
|
17022
17053
|
type: string
|
|
17023
17054
|
description:
|
|
17024
17055
|
type: string
|
|
17025
17056
|
token_decimals:
|
|
17026
17057
|
type: integer
|
|
17058
|
+
interface_kind:
|
|
17059
|
+
type: string
|
|
17060
|
+
enum: [evm_abi, solana_idl]
|
|
17061
|
+
default: evm_abi
|
|
17027
17062
|
created_by:
|
|
17028
17063
|
type: string
|
|
17029
17064
|
format: uuid
|
|
@@ -17046,6 +17081,45 @@ components:
|
|
|
17046
17081
|
# Consensus / Pending Approvals
|
|
17047
17082
|
# -------------------------------------------------------------------
|
|
17048
17083
|
|
|
17084
|
+
TxConditions:
|
|
17085
|
+
type: object
|
|
17086
|
+
description: |
|
|
17087
|
+
Signing-time AND conditions on access policies (all tiers).
|
|
17088
|
+
Ignored on secret reads. Evaluated when a TransactionContext is present.
|
|
17089
|
+
additionalProperties: true
|
|
17090
|
+
properties:
|
|
17091
|
+
function_name_in:
|
|
17092
|
+
type: array
|
|
17093
|
+
items:
|
|
17094
|
+
type: string
|
|
17095
|
+
function_selector_in:
|
|
17096
|
+
type: array
|
|
17097
|
+
items:
|
|
17098
|
+
type: string
|
|
17099
|
+
erc20_amount_above:
|
|
17100
|
+
type: string
|
|
17101
|
+
value_above:
|
|
17102
|
+
type: string
|
|
17103
|
+
description: Native value threshold in gwei
|
|
17104
|
+
to_address_in:
|
|
17105
|
+
type: array
|
|
17106
|
+
items:
|
|
17107
|
+
type: string
|
|
17108
|
+
chain_in:
|
|
17109
|
+
type: array
|
|
17110
|
+
items:
|
|
17111
|
+
type: string
|
|
17112
|
+
intent_type_in:
|
|
17113
|
+
type: array
|
|
17114
|
+
items:
|
|
17115
|
+
type: string
|
|
17116
|
+
decode_failed:
|
|
17117
|
+
type: boolean
|
|
17118
|
+
program_id_in:
|
|
17119
|
+
type: array
|
|
17120
|
+
items:
|
|
17121
|
+
type: string
|
|
17122
|
+
|
|
17049
17123
|
ConsensusTrigger:
|
|
17050
17124
|
type: object
|
|
17051
17125
|
required: [conditions, approval]
|