Repository navigation
Expand file tree
/
Copy pathcli-json-fields.json
More file actions
171 lines (171 loc) · 5.39 KB
/
Copy pathcli-json-fields.json
File metadata and controls
171 lines (171 loc) · 5.39 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
{
"version": 1,
"commands": {
"contract inspect": {
"description": "JSON output emitted by `starforge contract inspect <CONTRACT_ID> --json`.",
"fields": [
{
"path": "contract_id",
"type": "string",
"stability": "stable",
"description": "Inspected contract ID."
},
{
"path": "executable",
"type": "string",
"stability": "stable",
"description": "Executable type reported by contract instance metadata."
},
{
"path": "wasm_hash",
"type": "string|null",
"stability": "stable",
"description": "WASM hash for WASM-backed contracts, or null when unavailable."
},
{
"path": "storage_durability",
"type": "string",
"stability": "stable",
"description": "Durability class of the inspected storage."
},
{
"path": "latest_ledger",
"type": "number",
"stability": "stable",
"description": "Latest ledger observed while inspecting the contract."
},
{
"path": "last_modified_ledger_seq",
"type": "number|null",
"stability": "stable",
"description": "Ledger sequence where the instance entry was last modified, or null when unavailable."
},
{
"path": "live_until_ledger_seq",
"type": "number|null",
"stability": "stable",
"description": "Ledger sequence through which the instance entry remains live, or null when unavailable."
},
{
"path": "instance_storage",
"type": "array<object>",
"stability": "stable",
"description": "Decoded instance storage entries."
},
{
"path": "instance_storage[].key",
"type": "string",
"stability": "stable",
"description": "Decoded storage key."
},
{
"path": "instance_storage[].value",
"type": "string",
"stability": "stable",
"description": "Decoded storage value."
},
{
"path": "metadata",
"type": "object|string|null",
"stability": "stable",
"description": "Build provenance metadata reported by the contract WASM, when available."
}
]
},
"sep10 auth": {
"description": "JSON output emitted by `starforge sep10 auth --json`.",
"fields": [
{
"path": "home_domain",
"type": "string",
"stability": "experimental",
"description": "Anchor home domain that was authenticated."
},
{
"path": "web_auth_endpoint",
"type": "string",
"stability": "experimental",
"description": "SEP-10 authentication endpoint taken from stellar.toml."
},
{
"path": "account",
"type": "string",
"stability": "experimental",
"description": "Stellar account (G...) that authenticated."
},
{
"path": "signing_key",
"type": "string",
"stability": "experimental",
"description": "Anchor SIGNING_KEY that had to sign the challenge."
},
{
"path": "network_passphrase",
"type": "string",
"stability": "experimental",
"description": "Network passphrase the challenge was signed for."
},
{
"path": "challenge_data_name",
"type": "string",
"stability": "experimental",
"description": "manage_data key of the challenge (`<home_domain> auth`)."
},
{
"path": "challenge_seconds_remaining",
"type": "number",
"stability": "experimental",
"description": "Seconds left on the challenge time bounds when it was validated."
},
{
"path": "signatures_after_signing",
"type": "number",
"stability": "experimental",
"description": "Signature count on the submitted challenge (anchor + wallet)."
},
{
"path": "jwt",
"type": "string",
"stability": "experimental",
"description": "JWT the anchor issued."
},
{
"path": "jwt_claims",
"type": "object|null",
"stability": "experimental",
"description": "Decoded (not verified) JWT claims, or null when the token is opaque."
},
{
"path": "jwt_claims.iss",
"type": "string|null",
"stability": "experimental",
"description": "Token issuer claim."
},
{
"path": "jwt_claims.sub",
"type": "string|null",
"stability": "experimental",
"description": "Subject claim: the authenticated account."
},
{
"path": "jwt_claims.iat",
"type": "number|null",
"stability": "experimental",
"description": "Issued-at claim."
},
{
"path": "jwt_claims.exp",
"type": "number|null",
"stability": "experimental",
"description": "Expiry claim."
},
{
"path": "jwt_file",
"type": "string|null",
"stability": "experimental",
"description": "Path the JWT was also written to, or null when --output was not used."
}
]
}
}
}