@1claw/openapi-spec 0.35.0 → 0.36.0
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/README.md +5 -2
- package/openapi.json +57 -1
- package/openapi.yaml +43 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -40,13 +40,16 @@ openapi-generator generate \
|
|
|
40
40
|
import spec from "@1claw/openapi-spec/openapi.json";
|
|
41
41
|
```
|
|
42
42
|
|
|
43
|
-
## What's in the spec (v0.
|
|
43
|
+
## What's in the spec (v0.36.0 — API `info.version` 2.23.0)
|
|
44
|
+
|
|
45
|
+
### Non-EVM transaction signing (2.23)
|
|
46
|
+
- **Intents API** — `SubmitTransactionRequest` / `SignTransactionRequest` extended with non-EVM fields: `destination_tag` (XRP), `memo`, `fee_rate_sat_per_vbyte` (Bitcoin), `fee_limit_sun` (Tron), `token_mint` / `token_decimals` (Solana SPL + Tron TRC-20), `ttl` (Cardano). Native sign + broadcast for Bitcoin, Solana, XRP, Cardano, Tron.
|
|
44
47
|
|
|
45
48
|
### Risk Engine & DPoP (2.19)
|
|
46
49
|
- **Risk events** — `GET /v1/risk/events` (list, filterable by severity/principal_type)
|
|
47
50
|
- **Risk verdicts** — `GET /v1/risk/verdicts` (active verdicts), `GET /v1/risk/verdicts/{type}/{id}` (single principal verdict)
|
|
48
51
|
- **Honeytokens** — `GET/POST/DELETE /v1/risk/honeytokens` (canary secret CRUD with trigger counts)
|
|
49
|
-
- **DPoP** — RFC 9449 Demonstration of Proof-of-Possession token binding (
|
|
52
|
+
- **DPoP** — RFC 9449 Demonstration of Proof-of-Possession token binding (shipped)
|
|
50
53
|
|
|
51
54
|
### Webhooks (2.19)
|
|
52
55
|
- **Webhook CRUD** — `POST/GET /v1/webhooks`, `GET/PATCH/DELETE /v1/webhooks/{id}`. Events: `wallet.transfer.*`, `proposal.*`, `agent.transaction.*`, `signing_key.rotated`, `policy.*`
|
package/openapi.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"openapi": "3.1.0",
|
|
3
3
|
"info": {
|
|
4
4
|
"title": "1Claw API",
|
|
5
|
-
"version": "2.
|
|
5
|
+
"version": "2.23.0",
|
|
6
6
|
"description": "Secure secret management for AI agents. Provides vaults, secrets,\npolicy-based access control, agent identity, Intents API,\nsharing, billing, and audit logging.\n\nAll endpoints require JWT Bearer authentication unless marked with\n`security: []`.\n",
|
|
7
7
|
"contact": {
|
|
8
8
|
"email": "ops@1claw.xyz"
|
|
@@ -11813,6 +11813,34 @@
|
|
|
11813
11813
|
"type": "boolean",
|
|
11814
11814
|
"description": "Whether to submit as a gasless (sponsored) transaction",
|
|
11815
11815
|
"default": false
|
|
11816
|
+
},
|
|
11817
|
+
"destination_tag": {
|
|
11818
|
+
"type": "integer",
|
|
11819
|
+
"description": "Non-EVM (XRP): destination tag for exchange deposits"
|
|
11820
|
+
},
|
|
11821
|
+
"memo": {
|
|
11822
|
+
"type": "string",
|
|
11823
|
+
"description": "Non-EVM (XRP, Solana): optional memo"
|
|
11824
|
+
},
|
|
11825
|
+
"fee_rate_sat_per_vbyte": {
|
|
11826
|
+
"type": "integer",
|
|
11827
|
+
"description": "Non-EVM (Bitcoin): override the fetched fee rate (sat/vByte)"
|
|
11828
|
+
},
|
|
11829
|
+
"fee_limit_sun": {
|
|
11830
|
+
"type": "integer",
|
|
11831
|
+
"description": "Non-EVM (Tron): TRC-20 energy fee limit in sun"
|
|
11832
|
+
},
|
|
11833
|
+
"token_mint": {
|
|
11834
|
+
"type": "string",
|
|
11835
|
+
"description": "Non-EVM (Solana SPL / Tron TRC-20): token mint or contract address; omit for native transfer"
|
|
11836
|
+
},
|
|
11837
|
+
"token_decimals": {
|
|
11838
|
+
"type": "integer",
|
|
11839
|
+
"description": "Non-EVM (Solana, Tron): token decimals (default 6)"
|
|
11840
|
+
},
|
|
11841
|
+
"ttl": {
|
|
11842
|
+
"type": "integer",
|
|
11843
|
+
"description": "Non-EVM (Cardano): transaction time-to-live (absolute slot)"
|
|
11816
11844
|
}
|
|
11817
11845
|
}
|
|
11818
11846
|
},
|
|
@@ -11862,6 +11890,34 @@
|
|
|
11862
11890
|
"simulate_first": {
|
|
11863
11891
|
"type": "boolean",
|
|
11864
11892
|
"default": false
|
|
11893
|
+
},
|
|
11894
|
+
"destination_tag": {
|
|
11895
|
+
"type": "integer",
|
|
11896
|
+
"description": "Non-EVM (XRP): destination tag for exchange deposits"
|
|
11897
|
+
},
|
|
11898
|
+
"memo": {
|
|
11899
|
+
"type": "string",
|
|
11900
|
+
"description": "Non-EVM (XRP, Solana): optional memo"
|
|
11901
|
+
},
|
|
11902
|
+
"fee_rate_sat_per_vbyte": {
|
|
11903
|
+
"type": "integer",
|
|
11904
|
+
"description": "Non-EVM (Bitcoin): override the fetched fee rate (sat/vByte)"
|
|
11905
|
+
},
|
|
11906
|
+
"fee_limit_sun": {
|
|
11907
|
+
"type": "integer",
|
|
11908
|
+
"description": "Non-EVM (Tron): TRC-20 energy fee limit in sun"
|
|
11909
|
+
},
|
|
11910
|
+
"token_mint": {
|
|
11911
|
+
"type": "string",
|
|
11912
|
+
"description": "Non-EVM (Solana SPL / Tron TRC-20): token mint or contract address; omit for native transfer"
|
|
11913
|
+
},
|
|
11914
|
+
"token_decimals": {
|
|
11915
|
+
"type": "integer",
|
|
11916
|
+
"description": "Non-EVM (Solana, Tron): token decimals (default 6)"
|
|
11917
|
+
},
|
|
11918
|
+
"ttl": {
|
|
11919
|
+
"type": "integer",
|
|
11920
|
+
"description": "Non-EVM (Cardano): transaction time-to-live (absolute slot)"
|
|
11865
11921
|
}
|
|
11866
11922
|
}
|
|
11867
11923
|
},
|
package/openapi.yaml
CHANGED
|
@@ -2,7 +2,7 @@ openapi: 3.1.0
|
|
|
2
2
|
|
|
3
3
|
info:
|
|
4
4
|
title: 1Claw API
|
|
5
|
-
version: 2.
|
|
5
|
+
version: 2.23.0
|
|
6
6
|
description: |
|
|
7
7
|
Secure secret management for AI agents. Provides vaults, secrets,
|
|
8
8
|
policy-based access control, agent identity, Intents API,
|
|
@@ -7701,6 +7701,27 @@ components:
|
|
|
7701
7701
|
type: boolean
|
|
7702
7702
|
description: Whether to submit as a gasless (sponsored) transaction
|
|
7703
7703
|
default: false
|
|
7704
|
+
destination_tag:
|
|
7705
|
+
type: integer
|
|
7706
|
+
description: "Non-EVM (XRP): destination tag for exchange deposits"
|
|
7707
|
+
memo:
|
|
7708
|
+
type: string
|
|
7709
|
+
description: "Non-EVM (XRP, Solana): optional memo"
|
|
7710
|
+
fee_rate_sat_per_vbyte:
|
|
7711
|
+
type: integer
|
|
7712
|
+
description: "Non-EVM (Bitcoin): override the fetched fee rate (sat/vByte)"
|
|
7713
|
+
fee_limit_sun:
|
|
7714
|
+
type: integer
|
|
7715
|
+
description: "Non-EVM (Tron): TRC-20 energy fee limit in sun"
|
|
7716
|
+
token_mint:
|
|
7717
|
+
type: string
|
|
7718
|
+
description: "Non-EVM (Solana SPL / Tron TRC-20): token mint or contract address; omit for native transfer"
|
|
7719
|
+
token_decimals:
|
|
7720
|
+
type: integer
|
|
7721
|
+
description: "Non-EVM (Solana, Tron): token decimals (default 6)"
|
|
7722
|
+
ttl:
|
|
7723
|
+
type: integer
|
|
7724
|
+
description: "Non-EVM (Cardano): transaction time-to-live (absolute slot)"
|
|
7704
7725
|
|
|
7705
7726
|
SignTransactionRequest:
|
|
7706
7727
|
type: object
|
|
@@ -7734,6 +7755,27 @@ components:
|
|
|
7734
7755
|
simulate_first:
|
|
7735
7756
|
type: boolean
|
|
7736
7757
|
default: false
|
|
7758
|
+
destination_tag:
|
|
7759
|
+
type: integer
|
|
7760
|
+
description: "Non-EVM (XRP): destination tag for exchange deposits"
|
|
7761
|
+
memo:
|
|
7762
|
+
type: string
|
|
7763
|
+
description: "Non-EVM (XRP, Solana): optional memo"
|
|
7764
|
+
fee_rate_sat_per_vbyte:
|
|
7765
|
+
type: integer
|
|
7766
|
+
description: "Non-EVM (Bitcoin): override the fetched fee rate (sat/vByte)"
|
|
7767
|
+
fee_limit_sun:
|
|
7768
|
+
type: integer
|
|
7769
|
+
description: "Non-EVM (Tron): TRC-20 energy fee limit in sun"
|
|
7770
|
+
token_mint:
|
|
7771
|
+
type: string
|
|
7772
|
+
description: "Non-EVM (Solana SPL / Tron TRC-20): token mint or contract address; omit for native transfer"
|
|
7773
|
+
token_decimals:
|
|
7774
|
+
type: integer
|
|
7775
|
+
description: "Non-EVM (Solana, Tron): token decimals (default 6)"
|
|
7776
|
+
ttl:
|
|
7777
|
+
type: integer
|
|
7778
|
+
description: "Non-EVM (Cardano): transaction time-to-live (absolute slot)"
|
|
7737
7779
|
|
|
7738
7780
|
SignTransactionResponse:
|
|
7739
7781
|
type: object
|