@sip-protocol/sipher-client 0.1.0 → 0.1.1
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 +415 -91
- package/dist/apis/ScanApi.d.ts +28 -1
- package/dist/apis/ScanApi.js +36 -0
- package/dist/esm/apis/ScanApi.d.ts +28 -1
- package/dist/esm/apis/ScanApi.js +37 -1
- package/dist/esm/models/ScanAssets200Response.d.ts +39 -0
- package/dist/esm/models/ScanAssets200Response.js +44 -0
- package/dist/esm/models/ScanAssets200ResponseData.d.ts +65 -0
- package/dist/esm/models/ScanAssets200ResponseData.js +57 -0
- package/dist/esm/models/ScanAssets200ResponseDataAssetsInner.d.ts +50 -0
- package/dist/esm/models/ScanAssets200ResponseDataAssetsInner.js +47 -0
- package/dist/esm/models/ScanAssetsRequest.d.ts +51 -0
- package/dist/esm/models/ScanAssetsRequest.js +50 -0
- package/dist/esm/models/ScanAssetsRequestDisplayOptions.d.ts +38 -0
- package/dist/esm/models/ScanAssetsRequestDisplayOptions.js +43 -0
- package/dist/esm/models/index.d.ts +5 -0
- package/dist/esm/models/index.js +5 -0
- package/dist/models/ScanAssets200Response.d.ts +39 -0
- package/dist/models/ScanAssets200Response.js +51 -0
- package/dist/models/ScanAssets200ResponseData.d.ts +65 -0
- package/dist/models/ScanAssets200ResponseData.js +65 -0
- package/dist/models/ScanAssets200ResponseDataAssetsInner.d.ts +50 -0
- package/dist/models/ScanAssets200ResponseDataAssetsInner.js +54 -0
- package/dist/models/ScanAssetsRequest.d.ts +51 -0
- package/dist/models/ScanAssetsRequest.js +57 -0
- package/dist/models/ScanAssetsRequestDisplayOptions.d.ts +38 -0
- package/dist/models/ScanAssetsRequestDisplayOptions.js +50 -0
- package/dist/models/index.d.ts +5 -0
- package/dist/models/index.js +5 -0
- package/package.json +5 -5
package/README.md
CHANGED
|
@@ -1,110 +1,434 @@
|
|
|
1
|
-
#
|
|
1
|
+
# @sip-protocol/sipher-client@0.1.0
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
> Auto-generated from the [OpenAPI spec](https://sipher.sip-protocol.org/v1/openapi.json) using openapi-generator-cli.
|
|
6
|
-
|
|
7
|
-
## Installation
|
|
8
|
-
|
|
9
|
-
The package is not yet published to npm. Install from the local path:
|
|
10
|
-
|
|
11
|
-
```bash
|
|
12
|
-
# From the repository root
|
|
13
|
-
cd sdks/typescript
|
|
14
|
-
npm install
|
|
15
|
-
npm run build
|
|
16
|
-
|
|
17
|
-
# Then link or reference from your project
|
|
18
|
-
npm link @sip-protocol/sipher-client
|
|
19
|
-
```
|
|
20
|
-
|
|
21
|
-
## Configuration
|
|
22
|
-
|
|
23
|
-
```typescript
|
|
24
|
-
import { Configuration, HealthApi, StealthApi, CommitmentApi } from '@sip-protocol/sipher-client';
|
|
25
|
-
|
|
26
|
-
const config = new Configuration({
|
|
27
|
-
basePath: 'https://sipher.sip-protocol.org',
|
|
28
|
-
apiKey: 'your-api-key',
|
|
29
|
-
});
|
|
30
|
-
```
|
|
31
|
-
|
|
32
|
-
The `basePath` defaults to `https://sipher.sip-protocol.org` and can be omitted for production use. The `apiKey` is sent as the `X-API-Key` header on all authenticated requests.
|
|
3
|
+
A TypeScript SDK client for the sipher.sip-protocol.org API.
|
|
33
4
|
|
|
34
5
|
## Usage
|
|
35
6
|
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
```typescript
|
|
39
|
-
const health = new HealthApi(config);
|
|
40
|
-
|
|
41
|
-
const result = await health.getHealth();
|
|
42
|
-
console.log(result.success); // true
|
|
43
|
-
console.log(result.data); // { status, version, solana, uptime, memory }
|
|
44
|
-
```
|
|
45
|
-
|
|
46
|
-
### Generate Stealth Address
|
|
47
|
-
|
|
48
|
-
```typescript
|
|
49
|
-
const stealth = new StealthApi(config);
|
|
50
|
-
|
|
51
|
-
const result = await stealth.stealthGenerate({
|
|
52
|
-
label: 'agent-wallet',
|
|
53
|
-
});
|
|
7
|
+
First, install the SDK from npm.
|
|
54
8
|
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
console.log(result.data.viewKey); // view private key
|
|
9
|
+
```bash
|
|
10
|
+
npm install @sip-protocol/sipher-client --save
|
|
58
11
|
```
|
|
59
12
|
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
}
|
|
13
|
+
Next, try it out.
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
```ts
|
|
17
|
+
import {
|
|
18
|
+
Configuration,
|
|
19
|
+
AdminApi,
|
|
20
|
+
} from '@sip-protocol/sipher-client';
|
|
21
|
+
import type { CreateAdminKeyOperationRequest } from '@sip-protocol/sipher-client';
|
|
22
|
+
|
|
23
|
+
async function example() {
|
|
24
|
+
console.log("🚀 Testing @sip-protocol/sipher-client SDK...");
|
|
25
|
+
const config = new Configuration({
|
|
26
|
+
// To configure API key authorization: ApiKeyAuth
|
|
27
|
+
apiKey: "YOUR API KEY",
|
|
28
|
+
});
|
|
29
|
+
const api = new AdminApi(config);
|
|
30
|
+
|
|
31
|
+
const body = {
|
|
32
|
+
// CreateAdminKeyRequest
|
|
33
|
+
createAdminKeyRequest: ...,
|
|
34
|
+
} satisfies CreateAdminKeyOperationRequest;
|
|
35
|
+
|
|
36
|
+
try {
|
|
37
|
+
const data = await api.createAdminKey(body);
|
|
38
|
+
console.log(data);
|
|
39
|
+
} catch (error) {
|
|
40
|
+
console.error(error);
|
|
41
|
+
}
|
|
42
|
+
}
|
|
68
43
|
|
|
69
|
-
|
|
70
|
-
|
|
44
|
+
// Run the test
|
|
45
|
+
example().catch(console.error);
|
|
71
46
|
```
|
|
72
47
|
|
|
73
|
-
## Error Handling
|
|
74
48
|
|
|
75
|
-
|
|
49
|
+
## Documentation
|
|
50
|
+
|
|
51
|
+
### API Endpoints
|
|
52
|
+
|
|
53
|
+
All URIs are relative to *https://sipher.sip-protocol.org*
|
|
54
|
+
|
|
55
|
+
| Class | Method | HTTP request | Description
|
|
56
|
+
| ----- | ------ | ------------ | -------------
|
|
57
|
+
*AdminApi* | [**createAdminKey**](docs/AdminApi.md#createadminkeyoperation) | **POST** /v1/admin/keys | Create a new API key
|
|
58
|
+
*AdminApi* | [**getAdminKey**](docs/AdminApi.md#getadminkey) | **GET** /v1/admin/keys/{id} | Get API key details
|
|
59
|
+
*AdminApi* | [**listAdminKeys**](docs/AdminApi.md#listadminkeys) | **GET** /v1/admin/keys | List all API keys
|
|
60
|
+
*AdminApi* | [**listAdminTiers**](docs/AdminApi.md#listadmintiers) | **GET** /v1/admin/tiers | List available tiers and limits
|
|
61
|
+
*AdminApi* | [**revokeAdminKey**](docs/AdminApi.md#revokeadminkey) | **DELETE** /v1/admin/keys/{id} | Revoke an API key
|
|
62
|
+
*ArciumApi* | [**decryptArciumResult**](docs/ArciumApi.md#decryptarciumresultoperation) | **POST** /v1/arcium/decrypt | Decrypt computation result
|
|
63
|
+
*ArciumApi* | [**getArciumComputationStatus**](docs/ArciumApi.md#getarciumcomputationstatus) | **GET** /v1/arcium/compute/{id}/status | Get computation status
|
|
64
|
+
*ArciumApi* | [**submitArciumComputation**](docs/ArciumApi.md#submitarciumcomputationoperation) | **POST** /v1/arcium/compute | Submit MPC computation
|
|
65
|
+
*BackendsApi* | [**backendsCompare**](docs/BackendsApi.md#backendscompareoperation) | **POST** /v1/backends/compare | Compare privacy backends
|
|
66
|
+
*BackendsApi* | [**backendsHealth**](docs/BackendsApi.md#backendshealth) | **GET** /v1/backends/{id}/health | Check backend health
|
|
67
|
+
*BackendsApi* | [**backendsList**](docs/BackendsApi.md#backendslist) | **GET** /v1/backends | List privacy backends
|
|
68
|
+
*BackendsApi* | [**backendsSelect**](docs/BackendsApi.md#backendsselectoperation) | **POST** /v1/backends/select | Select preferred backend
|
|
69
|
+
*BillingUsageApi* | [**createBillingPortal**](docs/BillingUsageApi.md#createbillingportal) | **POST** /v1/billing/portal | Generate customer portal URL
|
|
70
|
+
*BillingUsageApi* | [**createBillingSubscription**](docs/BillingUsageApi.md#createbillingsubscriptionoperation) | **POST** /v1/billing/subscribe | Create or change subscription
|
|
71
|
+
*BillingUsageApi* | [**getBillingSubscription**](docs/BillingUsageApi.md#getbillingsubscription) | **GET** /v1/billing/subscription | Get current subscription
|
|
72
|
+
*BillingUsageApi* | [**getBillingUsage**](docs/BillingUsageApi.md#getbillingusage) | **GET** /v1/billing/usage | Get current period usage
|
|
73
|
+
*BillingUsageApi* | [**handleBillingWebhook**](docs/BillingUsageApi.md#handlebillingwebhookoperation) | **POST** /v1/billing/webhook | Stripe webhook receiver
|
|
74
|
+
*BillingUsageApi* | [**listBillingInvoices**](docs/BillingUsageApi.md#listbillinginvoices) | **GET** /v1/billing/invoices | List invoices
|
|
75
|
+
*CSPLApi* | [**csplTransfer**](docs/CSPLApi.md#cspltransferoperation) | **POST** /v1/cspl/transfer | Confidential token transfer
|
|
76
|
+
*CSPLApi* | [**csplUnwrap**](docs/CSPLApi.md#csplunwrapoperation) | **POST** /v1/cspl/unwrap | Unwrap confidential tokens back to SPL
|
|
77
|
+
*CSPLApi* | [**csplWrap**](docs/CSPLApi.md#csplwrapoperation) | **POST** /v1/cspl/wrap | Wrap SPL tokens into confidential balance
|
|
78
|
+
*CommitmentApi* | [**commitmentAdd**](docs/CommitmentApi.md#commitmentaddoperation) | **POST** /v1/commitment/add | Add two commitments (homomorphic)
|
|
79
|
+
*CommitmentApi* | [**commitmentCreate**](docs/CommitmentApi.md#commitmentcreateoperation) | **POST** /v1/commitment/create | Create Pedersen commitment
|
|
80
|
+
*CommitmentApi* | [**commitmentCreateBatch**](docs/CommitmentApi.md#commitmentcreatebatchoperation) | **POST** /v1/commitment/create/batch | Batch create Pedersen commitments
|
|
81
|
+
*CommitmentApi* | [**commitmentSubtract**](docs/CommitmentApi.md#commitmentsubtract) | **POST** /v1/commitment/subtract | Subtract two commitments (homomorphic)
|
|
82
|
+
*CommitmentApi* | [**commitmentVerify**](docs/CommitmentApi.md#commitmentverifyoperation) | **POST** /v1/commitment/verify | Verify Pedersen commitment
|
|
83
|
+
*ComplianceApi* | [**complianceDisclose**](docs/ComplianceApi.md#compliancediscloseoperation) | **POST** /v1/compliance/disclose | Selective disclosure with scoped viewing key (enterprise)
|
|
84
|
+
*ComplianceApi* | [**complianceReport**](docs/ComplianceApi.md#compliancereportoperation) | **POST** /v1/compliance/report | Generate encrypted audit report (enterprise)
|
|
85
|
+
*ComplianceApi* | [**getComplianceReport**](docs/ComplianceApi.md#getcompliancereport) | **GET** /v1/compliance/report/{id} | Retrieve generated compliance report (enterprise)
|
|
86
|
+
*GasAbstractionApi* | [**getJitoBundleStatus**](docs/GasAbstractionApi.md#getjitobundlestatus) | **GET** /v1/jito/bundle/{id} | Poll bundle status
|
|
87
|
+
*GasAbstractionApi* | [**submitJitoBundle**](docs/GasAbstractionApi.md#submitjitobundleoperation) | **POST** /v1/jito/relay | Submit transaction(s) via Jito bundle
|
|
88
|
+
*GovernanceApi* | [**encryptBallot**](docs/GovernanceApi.md#encryptballotoperation) | **POST** /v1/governance/ballot/encrypt | Encrypt a vote ballot
|
|
89
|
+
*GovernanceApi* | [**getTally**](docs/GovernanceApi.md#gettally) | **GET** /v1/governance/tally/{id} | Get tally result
|
|
90
|
+
*GovernanceApi* | [**submitBallot**](docs/GovernanceApi.md#submitballotoperation) | **POST** /v1/governance/ballot/submit | Submit encrypted ballot to a proposal
|
|
91
|
+
*GovernanceApi* | [**tallyVotes**](docs/GovernanceApi.md#tallyvotesoperation) | **POST** /v1/governance/tally | Tally votes for a proposal
|
|
92
|
+
*HealthApi* | [**getErrors**](docs/HealthApi.md#geterrors) | **GET** /v1/errors | Error code catalog
|
|
93
|
+
*HealthApi* | [**getHealth**](docs/HealthApi.md#gethealth) | **GET** /v1/health | Health check
|
|
94
|
+
*HealthApi* | [**getReady**](docs/HealthApi.md#getready) | **GET** /v1/ready | Readiness probe
|
|
95
|
+
*IncoApi* | [**computeIncoCiphertexts**](docs/IncoApi.md#computeincociphertextsoperation) | **POST** /v1/inco/compute | Compute on encrypted data
|
|
96
|
+
*IncoApi* | [**decryptIncoResult**](docs/IncoApi.md#decryptincoresultoperation) | **POST** /v1/inco/decrypt | Decrypt FHE computation result
|
|
97
|
+
*IncoApi* | [**encryptIncoValue**](docs/IncoApi.md#encryptincovalueoperation) | **POST** /v1/inco/encrypt | Encrypt value with FHE
|
|
98
|
+
*PrivacyApi* | [**privacyScore**](docs/PrivacyApi.md#privacyscoreoperation) | **POST** /v1/privacy/score | Analyze wallet privacy score
|
|
99
|
+
*ProofsApi* | [**proofsFulfillmentGenerate**](docs/ProofsApi.md#proofsfulfillmentgenerateoperation) | **POST** /v1/proofs/fulfillment/generate | Generate fulfillment proof
|
|
100
|
+
*ProofsApi* | [**proofsFulfillmentVerify**](docs/ProofsApi.md#proofsfulfillmentverifyoperation) | **POST** /v1/proofs/fulfillment/verify | Verify fulfillment proof
|
|
101
|
+
*ProofsApi* | [**proofsFundingGenerate**](docs/ProofsApi.md#proofsfundinggenerateoperation) | **POST** /v1/proofs/funding/generate | Generate funding proof
|
|
102
|
+
*ProofsApi* | [**proofsFundingVerify**](docs/ProofsApi.md#proofsfundingverifyoperation) | **POST** /v1/proofs/funding/verify | Verify funding proof
|
|
103
|
+
*ProofsApi* | [**proofsRangeGenerate**](docs/ProofsApi.md#proofsrangegenerateoperation) | **POST** /v1/proofs/range/generate | Generate STARK range proof
|
|
104
|
+
*ProofsApi* | [**proofsRangeVerify**](docs/ProofsApi.md#proofsrangeverifyoperation) | **POST** /v1/proofs/range/verify | Verify STARK range proof
|
|
105
|
+
*ProofsApi* | [**proofsValidityGenerate**](docs/ProofsApi.md#proofsvaliditygenerateoperation) | **POST** /v1/proofs/validity/generate | Generate validity proof
|
|
106
|
+
*ProofsApi* | [**proofsValidityVerify**](docs/ProofsApi.md#proofsvalidityverifyoperation) | **POST** /v1/proofs/validity/verify | Verify validity proof
|
|
107
|
+
*RPCApi* | [**getRpcProviders**](docs/RPCApi.md#getrpcproviders) | **GET** /v1/rpc/providers | List supported RPC providers and active configuration
|
|
108
|
+
*ScanApi* | [**scanAssets**](docs/ScanApi.md#scanassetsoperation) | **POST** /v1/scan/assets | Scan stealth address assets via Helius DAS
|
|
109
|
+
*ScanApi* | [**scanPayments**](docs/ScanApi.md#scanpaymentsoperation) | **POST** /v1/scan/payments | Scan for incoming shielded payments
|
|
110
|
+
*ScanApi* | [**scanPaymentsBatch**](docs/ScanApi.md#scanpaymentsbatchoperation) | **POST** /v1/scan/payments/batch | Batch scan for payments across multiple key pairs
|
|
111
|
+
*SessionsApi* | [**createSession**](docs/SessionsApi.md#createsessionoperation) | **POST** /v1/sessions | Create agent session with default parameters (pro+)
|
|
112
|
+
*SessionsApi* | [**deleteSession**](docs/SessionsApi.md#deletesession) | **DELETE** /v1/sessions/{id} | Delete session (pro+)
|
|
113
|
+
*SessionsApi* | [**getSession**](docs/SessionsApi.md#getsession) | **GET** /v1/sessions/{id} | Get session configuration (pro+)
|
|
114
|
+
*SessionsApi* | [**updateSession**](docs/SessionsApi.md#updatesessionoperation) | **PATCH** /v1/sessions/{id} | Update session defaults (pro+)
|
|
115
|
+
*StealthApi* | [**stealthCheck**](docs/StealthApi.md#stealthcheckoperation) | **POST** /v1/stealth/check | Check stealth address ownership
|
|
116
|
+
*StealthApi* | [**stealthDerive**](docs/StealthApi.md#stealthderiveoperation) | **POST** /v1/stealth/derive | Derive one-time stealth address
|
|
117
|
+
*StealthApi* | [**stealthGenerate**](docs/StealthApi.md#stealthgenerateoperation) | **POST** /v1/stealth/generate | Generate stealth meta-address keypair
|
|
118
|
+
*StealthApi* | [**stealthGenerateBatch**](docs/StealthApi.md#stealthgeneratebatchoperation) | **POST** /v1/stealth/generate/batch | Batch generate stealth keypairs
|
|
119
|
+
*SwapApi* | [**privateSwap**](docs/SwapApi.md#privateswapoperation) | **POST** /v1/swap/private | Privacy-preserving token swap via Jupiter DEX
|
|
120
|
+
*TransferApi* | [**transferClaim**](docs/TransferApi.md#transferclaimoperation) | **POST** /v1/transfer/claim | Claim stealth payment (signed)
|
|
121
|
+
*TransferApi* | [**transferPrivate**](docs/TransferApi.md#transferprivateoperation) | **POST** /v1/transfer/private | Build unified private transfer (chain-agnostic)
|
|
122
|
+
*TransferApi* | [**transferShield**](docs/TransferApi.md#transfershieldoperation) | **POST** /v1/transfer/shield | Build shielded transfer (unsigned)
|
|
123
|
+
*ViewingKeyApi* | [**viewingKeyDecrypt**](docs/ViewingKeyApi.md#viewingkeydecryptoperation) | **POST** /v1/viewing-key/decrypt | Decrypt transaction with viewing key
|
|
124
|
+
*ViewingKeyApi* | [**viewingKeyDerive**](docs/ViewingKeyApi.md#viewingkeyderiveoperation) | **POST** /v1/viewing-key/derive | Derive child viewing key (BIP32-style)
|
|
125
|
+
*ViewingKeyApi* | [**viewingKeyDisclose**](docs/ViewingKeyApi.md#viewingkeydiscloseoperation) | **POST** /v1/viewing-key/disclose | Encrypt transaction for disclosure
|
|
126
|
+
*ViewingKeyApi* | [**viewingKeyGenerate**](docs/ViewingKeyApi.md#viewingkeygenerateoperation) | **POST** /v1/viewing-key/generate | Generate viewing key
|
|
127
|
+
*ViewingKeyApi* | [**viewingKeyVerifyHierarchy**](docs/ViewingKeyApi.md#viewingkeyverifyhierarchyoperation) | **POST** /v1/viewing-key/verify-hierarchy | Verify viewing key parent-child relationship
|
|
128
|
+
|
|
129
|
+
|
|
130
|
+
### Models
|
|
131
|
+
|
|
132
|
+
- [BackendsCompare200Response](docs/BackendsCompare200Response.md)
|
|
133
|
+
- [BackendsCompare200ResponseData](docs/BackendsCompare200ResponseData.md)
|
|
134
|
+
- [BackendsCompare200ResponseDataComparisonsInner](docs/BackendsCompare200ResponseDataComparisonsInner.md)
|
|
135
|
+
- [BackendsCompare200ResponseDataRecommendation](docs/BackendsCompare200ResponseDataRecommendation.md)
|
|
136
|
+
- [BackendsCompareRequest](docs/BackendsCompareRequest.md)
|
|
137
|
+
- [BackendsHealth200Response](docs/BackendsHealth200Response.md)
|
|
138
|
+
- [BackendsHealth200ResponseData](docs/BackendsHealth200ResponseData.md)
|
|
139
|
+
- [BackendsHealth200ResponseDataHealth](docs/BackendsHealth200ResponseDataHealth.md)
|
|
140
|
+
- [BackendsHealth200ResponseDataMetrics](docs/BackendsHealth200ResponseDataMetrics.md)
|
|
141
|
+
- [BackendsList200Response](docs/BackendsList200Response.md)
|
|
142
|
+
- [BackendsList200ResponseData](docs/BackendsList200ResponseData.md)
|
|
143
|
+
- [BackendsList200ResponseDataBackendsInner](docs/BackendsList200ResponseDataBackendsInner.md)
|
|
144
|
+
- [BackendsList200ResponseDataBackendsInnerCapabilities](docs/BackendsList200ResponseDataBackendsInnerCapabilities.md)
|
|
145
|
+
- [BackendsList200ResponseDataBackendsInnerHealth](docs/BackendsList200ResponseDataBackendsInnerHealth.md)
|
|
146
|
+
- [BackendsSelect200Response](docs/BackendsSelect200Response.md)
|
|
147
|
+
- [BackendsSelect200ResponseData](docs/BackendsSelect200ResponseData.md)
|
|
148
|
+
- [BackendsSelectRequest](docs/BackendsSelectRequest.md)
|
|
149
|
+
- [CommitmentAdd200Response](docs/CommitmentAdd200Response.md)
|
|
150
|
+
- [CommitmentAdd200ResponseData](docs/CommitmentAdd200ResponseData.md)
|
|
151
|
+
- [CommitmentAddRequest](docs/CommitmentAddRequest.md)
|
|
152
|
+
- [CommitmentCreate200Response](docs/CommitmentCreate200Response.md)
|
|
153
|
+
- [CommitmentCreate200ResponseData](docs/CommitmentCreate200ResponseData.md)
|
|
154
|
+
- [CommitmentCreateBatch200Response](docs/CommitmentCreateBatch200Response.md)
|
|
155
|
+
- [CommitmentCreateBatch200ResponseData](docs/CommitmentCreateBatch200ResponseData.md)
|
|
156
|
+
- [CommitmentCreateBatch200ResponseDataResultsInner](docs/CommitmentCreateBatch200ResponseDataResultsInner.md)
|
|
157
|
+
- [CommitmentCreateBatchRequest](docs/CommitmentCreateBatchRequest.md)
|
|
158
|
+
- [CommitmentCreateBatchRequestItemsInner](docs/CommitmentCreateBatchRequestItemsInner.md)
|
|
159
|
+
- [CommitmentCreateRequest](docs/CommitmentCreateRequest.md)
|
|
160
|
+
- [CommitmentVerify200Response](docs/CommitmentVerify200Response.md)
|
|
161
|
+
- [CommitmentVerify200ResponseData](docs/CommitmentVerify200ResponseData.md)
|
|
162
|
+
- [CommitmentVerifyRequest](docs/CommitmentVerifyRequest.md)
|
|
163
|
+
- [ComplianceDisclose200Response](docs/ComplianceDisclose200Response.md)
|
|
164
|
+
- [ComplianceDisclose200ResponseData](docs/ComplianceDisclose200ResponseData.md)
|
|
165
|
+
- [ComplianceDiscloseRequest](docs/ComplianceDiscloseRequest.md)
|
|
166
|
+
- [ComplianceDiscloseRequestAuditorVerification](docs/ComplianceDiscloseRequestAuditorVerification.md)
|
|
167
|
+
- [ComplianceDiscloseRequestScope](docs/ComplianceDiscloseRequestScope.md)
|
|
168
|
+
- [ComplianceDiscloseRequestTransactionData](docs/ComplianceDiscloseRequestTransactionData.md)
|
|
169
|
+
- [ComplianceReport200Response](docs/ComplianceReport200Response.md)
|
|
170
|
+
- [ComplianceReport200ResponseData](docs/ComplianceReport200ResponseData.md)
|
|
171
|
+
- [ComplianceReport200ResponseDataSummary](docs/ComplianceReport200ResponseDataSummary.md)
|
|
172
|
+
- [ComplianceReportRequest](docs/ComplianceReportRequest.md)
|
|
173
|
+
- [ComputeIncoCiphertexts200Response](docs/ComputeIncoCiphertexts200Response.md)
|
|
174
|
+
- [ComputeIncoCiphertexts200ResponseData](docs/ComputeIncoCiphertexts200ResponseData.md)
|
|
175
|
+
- [ComputeIncoCiphertextsRequest](docs/ComputeIncoCiphertextsRequest.md)
|
|
176
|
+
- [CreateAdminKey201Response](docs/CreateAdminKey201Response.md)
|
|
177
|
+
- [CreateAdminKey201ResponseData](docs/CreateAdminKey201ResponseData.md)
|
|
178
|
+
- [CreateAdminKeyRequest](docs/CreateAdminKeyRequest.md)
|
|
179
|
+
- [CreateBillingPortal200Response](docs/CreateBillingPortal200Response.md)
|
|
180
|
+
- [CreateBillingPortal200ResponseData](docs/CreateBillingPortal200ResponseData.md)
|
|
181
|
+
- [CreateBillingSubscription200Response](docs/CreateBillingSubscription200Response.md)
|
|
182
|
+
- [CreateBillingSubscriptionRequest](docs/CreateBillingSubscriptionRequest.md)
|
|
183
|
+
- [CreateSession201Response](docs/CreateSession201Response.md)
|
|
184
|
+
- [CreateSession201ResponseData](docs/CreateSession201ResponseData.md)
|
|
185
|
+
- [CreateSessionRequest](docs/CreateSessionRequest.md)
|
|
186
|
+
- [CreateSessionRequestDefaults](docs/CreateSessionRequestDefaults.md)
|
|
187
|
+
- [CsplTransfer200Response](docs/CsplTransfer200Response.md)
|
|
188
|
+
- [CsplTransfer200ResponseData](docs/CsplTransfer200ResponseData.md)
|
|
189
|
+
- [CsplTransferRequest](docs/CsplTransferRequest.md)
|
|
190
|
+
- [CsplUnwrap200Response](docs/CsplUnwrap200Response.md)
|
|
191
|
+
- [CsplUnwrap200ResponseData](docs/CsplUnwrap200ResponseData.md)
|
|
192
|
+
- [CsplUnwrapRequest](docs/CsplUnwrapRequest.md)
|
|
193
|
+
- [CsplWrap200Response](docs/CsplWrap200Response.md)
|
|
194
|
+
- [CsplWrap200ResponseData](docs/CsplWrap200ResponseData.md)
|
|
195
|
+
- [CsplWrapRequest](docs/CsplWrapRequest.md)
|
|
196
|
+
- [DecryptArciumResult200Response](docs/DecryptArciumResult200Response.md)
|
|
197
|
+
- [DecryptArciumResult200ResponseData](docs/DecryptArciumResult200ResponseData.md)
|
|
198
|
+
- [DecryptArciumResultRequest](docs/DecryptArciumResultRequest.md)
|
|
199
|
+
- [DecryptArciumResultRequestViewingKey](docs/DecryptArciumResultRequestViewingKey.md)
|
|
200
|
+
- [DecryptIncoResult200Response](docs/DecryptIncoResult200Response.md)
|
|
201
|
+
- [DecryptIncoResult200ResponseData](docs/DecryptIncoResult200ResponseData.md)
|
|
202
|
+
- [DecryptIncoResultRequest](docs/DecryptIncoResultRequest.md)
|
|
203
|
+
- [DeleteSession200Response](docs/DeleteSession200Response.md)
|
|
204
|
+
- [DeleteSession200ResponseData](docs/DeleteSession200ResponseData.md)
|
|
205
|
+
- [EncryptBallot200Response](docs/EncryptBallot200Response.md)
|
|
206
|
+
- [EncryptBallot200ResponseData](docs/EncryptBallot200ResponseData.md)
|
|
207
|
+
- [EncryptBallotRequest](docs/EncryptBallotRequest.md)
|
|
208
|
+
- [EncryptIncoValue200Response](docs/EncryptIncoValue200Response.md)
|
|
209
|
+
- [EncryptIncoValue200ResponseData](docs/EncryptIncoValue200ResponseData.md)
|
|
210
|
+
- [EncryptIncoValueRequest](docs/EncryptIncoValueRequest.md)
|
|
211
|
+
- [EncryptIncoValueRequestPlaintext](docs/EncryptIncoValueRequestPlaintext.md)
|
|
212
|
+
- [ErrorResponse](docs/ErrorResponse.md)
|
|
213
|
+
- [EvmTransferData](docs/EvmTransferData.md)
|
|
214
|
+
- [GetAdminKey200Response](docs/GetAdminKey200Response.md)
|
|
215
|
+
- [GetAdminKey200ResponseData](docs/GetAdminKey200ResponseData.md)
|
|
216
|
+
- [GetArciumComputationStatus200Response](docs/GetArciumComputationStatus200Response.md)
|
|
217
|
+
- [GetArciumComputationStatus200ResponseData](docs/GetArciumComputationStatus200ResponseData.md)
|
|
218
|
+
- [GetBillingSubscription200Response](docs/GetBillingSubscription200Response.md)
|
|
219
|
+
- [GetBillingSubscription200ResponseData](docs/GetBillingSubscription200ResponseData.md)
|
|
220
|
+
- [GetBillingUsage200Response](docs/GetBillingUsage200Response.md)
|
|
221
|
+
- [GetBillingUsage200ResponseData](docs/GetBillingUsage200ResponseData.md)
|
|
222
|
+
- [GetBillingUsage200ResponseDataCategoriesValue](docs/GetBillingUsage200ResponseDataCategoriesValue.md)
|
|
223
|
+
- [GetComplianceReport200Response](docs/GetComplianceReport200Response.md)
|
|
224
|
+
- [GetComplianceReport200ResponseData](docs/GetComplianceReport200ResponseData.md)
|
|
225
|
+
- [GetErrors200Response](docs/GetErrors200Response.md)
|
|
226
|
+
- [GetErrors200ResponseData](docs/GetErrors200ResponseData.md)
|
|
227
|
+
- [GetErrors200ResponseDataErrorsInner](docs/GetErrors200ResponseDataErrorsInner.md)
|
|
228
|
+
- [GetHealth200Response](docs/GetHealth200Response.md)
|
|
229
|
+
- [GetHealth200ResponseData](docs/GetHealth200ResponseData.md)
|
|
230
|
+
- [GetHealth200ResponseDataMemory](docs/GetHealth200ResponseDataMemory.md)
|
|
231
|
+
- [GetHealth200ResponseDataSolana](docs/GetHealth200ResponseDataSolana.md)
|
|
232
|
+
- [GetHealth503Response](docs/GetHealth503Response.md)
|
|
233
|
+
- [GetHealth503ResponseError](docs/GetHealth503ResponseError.md)
|
|
234
|
+
- [GetJitoBundleStatus200Response](docs/GetJitoBundleStatus200Response.md)
|
|
235
|
+
- [GetJitoBundleStatus200ResponseData](docs/GetJitoBundleStatus200ResponseData.md)
|
|
236
|
+
- [GetReady200Response](docs/GetReady200Response.md)
|
|
237
|
+
- [GetReady200ResponseData](docs/GetReady200ResponseData.md)
|
|
238
|
+
- [GetReady200ResponseDataChecks](docs/GetReady200ResponseDataChecks.md)
|
|
239
|
+
- [GetRpcProviders200Response](docs/GetRpcProviders200Response.md)
|
|
240
|
+
- [GetRpcProviders200ResponseData](docs/GetRpcProviders200ResponseData.md)
|
|
241
|
+
- [GetRpcProviders200ResponseDataActive](docs/GetRpcProviders200ResponseDataActive.md)
|
|
242
|
+
- [GetRpcProviders200ResponseDataSupportedInner](docs/GetRpcProviders200ResponseDataSupportedInner.md)
|
|
243
|
+
- [GetSession200Response](docs/GetSession200Response.md)
|
|
244
|
+
- [GetSession200ResponseData](docs/GetSession200ResponseData.md)
|
|
245
|
+
- [GetTally200Response](docs/GetTally200Response.md)
|
|
246
|
+
- [GetTally200ResponseData](docs/GetTally200ResponseData.md)
|
|
247
|
+
- [HandleBillingWebhook200Response](docs/HandleBillingWebhook200Response.md)
|
|
248
|
+
- [HandleBillingWebhook200ResponseData](docs/HandleBillingWebhook200ResponseData.md)
|
|
249
|
+
- [HandleBillingWebhookRequest](docs/HandleBillingWebhookRequest.md)
|
|
250
|
+
- [ListAdminKeys200Response](docs/ListAdminKeys200Response.md)
|
|
251
|
+
- [ListAdminKeys200ResponseData](docs/ListAdminKeys200ResponseData.md)
|
|
252
|
+
- [ListAdminTiers200Response](docs/ListAdminTiers200Response.md)
|
|
253
|
+
- [ListAdminTiers200ResponseData](docs/ListAdminTiers200ResponseData.md)
|
|
254
|
+
- [ListAdminTiers200ResponseDataTiersInner](docs/ListAdminTiers200ResponseDataTiersInner.md)
|
|
255
|
+
- [ListBillingInvoices200Response](docs/ListBillingInvoices200Response.md)
|
|
256
|
+
- [ListBillingInvoices200ResponseData](docs/ListBillingInvoices200ResponseData.md)
|
|
257
|
+
- [NearTransferData](docs/NearTransferData.md)
|
|
258
|
+
- [NearTransferDataActionsInner](docs/NearTransferDataActionsInner.md)
|
|
259
|
+
- [PrivacyScore200Response](docs/PrivacyScore200Response.md)
|
|
260
|
+
- [PrivacyScore200ResponseData](docs/PrivacyScore200ResponseData.md)
|
|
261
|
+
- [PrivacyScore200ResponseDataFactors](docs/PrivacyScore200ResponseDataFactors.md)
|
|
262
|
+
- [PrivacyScore200ResponseDataFactorsAddressReuse](docs/PrivacyScore200ResponseDataFactorsAddressReuse.md)
|
|
263
|
+
- [PrivacyScoreRequest](docs/PrivacyScoreRequest.md)
|
|
264
|
+
- [PrivateSwap200Response](docs/PrivateSwap200Response.md)
|
|
265
|
+
- [PrivateSwap200ResponseData](docs/PrivateSwap200ResponseData.md)
|
|
266
|
+
- [PrivateSwap200ResponseDataTransactionsInner](docs/PrivateSwap200ResponseDataTransactionsInner.md)
|
|
267
|
+
- [PrivateSwapRequest](docs/PrivateSwapRequest.md)
|
|
268
|
+
- [PrivateSwapRequestRecipientMetaAddress](docs/PrivateSwapRequestRecipientMetaAddress.md)
|
|
269
|
+
- [ProofsFulfillmentGenerate200Response](docs/ProofsFulfillmentGenerate200Response.md)
|
|
270
|
+
- [ProofsFulfillmentGenerate200ResponseData](docs/ProofsFulfillmentGenerate200ResponseData.md)
|
|
271
|
+
- [ProofsFulfillmentGenerate200ResponseDataProof](docs/ProofsFulfillmentGenerate200ResponseDataProof.md)
|
|
272
|
+
- [ProofsFulfillmentGenerateRequest](docs/ProofsFulfillmentGenerateRequest.md)
|
|
273
|
+
- [ProofsFulfillmentGenerateRequestOracleAttestation](docs/ProofsFulfillmentGenerateRequestOracleAttestation.md)
|
|
274
|
+
- [ProofsFulfillmentVerifyRequest](docs/ProofsFulfillmentVerifyRequest.md)
|
|
275
|
+
- [ProofsFundingGenerate200Response](docs/ProofsFundingGenerate200Response.md)
|
|
276
|
+
- [ProofsFundingGenerate200ResponseData](docs/ProofsFundingGenerate200ResponseData.md)
|
|
277
|
+
- [ProofsFundingGenerate200ResponseDataProof](docs/ProofsFundingGenerate200ResponseDataProof.md)
|
|
278
|
+
- [ProofsFundingGenerateRequest](docs/ProofsFundingGenerateRequest.md)
|
|
279
|
+
- [ProofsFundingVerifyRequest](docs/ProofsFundingVerifyRequest.md)
|
|
280
|
+
- [ProofsRangeGenerate200Response](docs/ProofsRangeGenerate200Response.md)
|
|
281
|
+
- [ProofsRangeGenerate200ResponseData](docs/ProofsRangeGenerate200ResponseData.md)
|
|
282
|
+
- [ProofsRangeGenerate200ResponseDataMetadata](docs/ProofsRangeGenerate200ResponseDataMetadata.md)
|
|
283
|
+
- [ProofsRangeGenerate200ResponseDataProof](docs/ProofsRangeGenerate200ResponseDataProof.md)
|
|
284
|
+
- [ProofsRangeGenerateRequest](docs/ProofsRangeGenerateRequest.md)
|
|
285
|
+
- [ProofsRangeVerifyRequest](docs/ProofsRangeVerifyRequest.md)
|
|
286
|
+
- [ProofsValidityGenerate200Response](docs/ProofsValidityGenerate200Response.md)
|
|
287
|
+
- [ProofsValidityGenerate200ResponseData](docs/ProofsValidityGenerate200ResponseData.md)
|
|
288
|
+
- [ProofsValidityGenerate200ResponseDataProof](docs/ProofsValidityGenerate200ResponseDataProof.md)
|
|
289
|
+
- [ProofsValidityGenerateRequest](docs/ProofsValidityGenerateRequest.md)
|
|
290
|
+
- [ProofsValidityVerifyRequest](docs/ProofsValidityVerifyRequest.md)
|
|
291
|
+
- [RevokeAdminKey200Response](docs/RevokeAdminKey200Response.md)
|
|
292
|
+
- [RevokeAdminKey200ResponseData](docs/RevokeAdminKey200ResponseData.md)
|
|
293
|
+
- [ScanAssets200Response](docs/ScanAssets200Response.md)
|
|
294
|
+
- [ScanAssets200ResponseData](docs/ScanAssets200ResponseData.md)
|
|
295
|
+
- [ScanAssets200ResponseDataAssetsInner](docs/ScanAssets200ResponseDataAssetsInner.md)
|
|
296
|
+
- [ScanAssetsRequest](docs/ScanAssetsRequest.md)
|
|
297
|
+
- [ScanAssetsRequestDisplayOptions](docs/ScanAssetsRequestDisplayOptions.md)
|
|
298
|
+
- [ScanPayments200Response](docs/ScanPayments200Response.md)
|
|
299
|
+
- [ScanPayments200ResponseData](docs/ScanPayments200ResponseData.md)
|
|
300
|
+
- [ScanPayments200ResponseDataPaymentsInner](docs/ScanPayments200ResponseDataPaymentsInner.md)
|
|
301
|
+
- [ScanPaymentsBatch200Response](docs/ScanPaymentsBatch200Response.md)
|
|
302
|
+
- [ScanPaymentsBatch200ResponseData](docs/ScanPaymentsBatch200ResponseData.md)
|
|
303
|
+
- [ScanPaymentsBatch200ResponseDataResultsInner](docs/ScanPaymentsBatch200ResponseDataResultsInner.md)
|
|
304
|
+
- [ScanPaymentsBatch200ResponseDataResultsInnerData](docs/ScanPaymentsBatch200ResponseDataResultsInnerData.md)
|
|
305
|
+
- [ScanPaymentsBatch200ResponseDataSummary](docs/ScanPaymentsBatch200ResponseDataSummary.md)
|
|
306
|
+
- [ScanPaymentsBatchRequest](docs/ScanPaymentsBatchRequest.md)
|
|
307
|
+
- [ScanPaymentsBatchRequestKeyPairsInner](docs/ScanPaymentsBatchRequestKeyPairsInner.md)
|
|
308
|
+
- [ScanPaymentsRequest](docs/ScanPaymentsRequest.md)
|
|
309
|
+
- [SolanaTransferData](docs/SolanaTransferData.md)
|
|
310
|
+
- [StealthAddress](docs/StealthAddress.md)
|
|
311
|
+
- [StealthCheck200Response](docs/StealthCheck200Response.md)
|
|
312
|
+
- [StealthCheck200ResponseData](docs/StealthCheck200ResponseData.md)
|
|
313
|
+
- [StealthCheckRequest](docs/StealthCheckRequest.md)
|
|
314
|
+
- [StealthDerive200Response](docs/StealthDerive200Response.md)
|
|
315
|
+
- [StealthDerive200ResponseData](docs/StealthDerive200ResponseData.md)
|
|
316
|
+
- [StealthDeriveRequest](docs/StealthDeriveRequest.md)
|
|
317
|
+
- [StealthGenerate200Response](docs/StealthGenerate200Response.md)
|
|
318
|
+
- [StealthGenerate200ResponseData](docs/StealthGenerate200ResponseData.md)
|
|
319
|
+
- [StealthGenerateBatch200Response](docs/StealthGenerateBatch200Response.md)
|
|
320
|
+
- [StealthGenerateBatch200ResponseData](docs/StealthGenerateBatch200ResponseData.md)
|
|
321
|
+
- [StealthGenerateBatch200ResponseDataResultsInner](docs/StealthGenerateBatch200ResponseDataResultsInner.md)
|
|
322
|
+
- [StealthGenerateBatch200ResponseDataSummary](docs/StealthGenerateBatch200ResponseDataSummary.md)
|
|
323
|
+
- [StealthGenerateBatchRequest](docs/StealthGenerateBatchRequest.md)
|
|
324
|
+
- [StealthGenerateRequest](docs/StealthGenerateRequest.md)
|
|
325
|
+
- [StealthMetaAddress](docs/StealthMetaAddress.md)
|
|
326
|
+
- [SubmitArciumComputation200Response](docs/SubmitArciumComputation200Response.md)
|
|
327
|
+
- [SubmitArciumComputation200ResponseData](docs/SubmitArciumComputation200ResponseData.md)
|
|
328
|
+
- [SubmitArciumComputationRequest](docs/SubmitArciumComputationRequest.md)
|
|
329
|
+
- [SubmitArciumComputationRequestViewingKey](docs/SubmitArciumComputationRequestViewingKey.md)
|
|
330
|
+
- [SubmitBallot200Response](docs/SubmitBallot200Response.md)
|
|
331
|
+
- [SubmitBallot200ResponseData](docs/SubmitBallot200ResponseData.md)
|
|
332
|
+
- [SubmitBallotRequest](docs/SubmitBallotRequest.md)
|
|
333
|
+
- [SubmitJitoBundle200Response](docs/SubmitJitoBundle200Response.md)
|
|
334
|
+
- [SubmitJitoBundle200ResponseData](docs/SubmitJitoBundle200ResponseData.md)
|
|
335
|
+
- [SubmitJitoBundleRequest](docs/SubmitJitoBundleRequest.md)
|
|
336
|
+
- [TallyVotes200Response](docs/TallyVotes200Response.md)
|
|
337
|
+
- [TallyVotes200ResponseData](docs/TallyVotes200ResponseData.md)
|
|
338
|
+
- [TallyVotesRequest](docs/TallyVotesRequest.md)
|
|
339
|
+
- [TransferClaim200Response](docs/TransferClaim200Response.md)
|
|
340
|
+
- [TransferClaim200ResponseData](docs/TransferClaim200ResponseData.md)
|
|
341
|
+
- [TransferClaimRequest](docs/TransferClaimRequest.md)
|
|
342
|
+
- [TransferPrivate200Response](docs/TransferPrivate200Response.md)
|
|
343
|
+
- [TransferPrivate200ResponseData](docs/TransferPrivate200ResponseData.md)
|
|
344
|
+
- [TransferPrivate200ResponseDataChainData](docs/TransferPrivate200ResponseDataChainData.md)
|
|
345
|
+
- [TransferPrivate422Response](docs/TransferPrivate422Response.md)
|
|
346
|
+
- [TransferPrivate422ResponseError](docs/TransferPrivate422ResponseError.md)
|
|
347
|
+
- [TransferPrivateRequest](docs/TransferPrivateRequest.md)
|
|
348
|
+
- [TransferPrivateRequestRecipientMetaAddress](docs/TransferPrivateRequestRecipientMetaAddress.md)
|
|
349
|
+
- [TransferShield200Response](docs/TransferShield200Response.md)
|
|
350
|
+
- [TransferShield200ResponseData](docs/TransferShield200ResponseData.md)
|
|
351
|
+
- [TransferShieldRequest](docs/TransferShieldRequest.md)
|
|
352
|
+
- [UpdateSession200Response](docs/UpdateSession200Response.md)
|
|
353
|
+
- [UpdateSession200ResponseData](docs/UpdateSession200ResponseData.md)
|
|
354
|
+
- [UpdateSessionRequest](docs/UpdateSessionRequest.md)
|
|
355
|
+
- [ViewingKey](docs/ViewingKey.md)
|
|
356
|
+
- [ViewingKeyDecrypt200Response](docs/ViewingKeyDecrypt200Response.md)
|
|
357
|
+
- [ViewingKeyDecrypt200ResponseData](docs/ViewingKeyDecrypt200ResponseData.md)
|
|
358
|
+
- [ViewingKeyDecryptRequest](docs/ViewingKeyDecryptRequest.md)
|
|
359
|
+
- [ViewingKeyDecryptRequestEncrypted](docs/ViewingKeyDecryptRequestEncrypted.md)
|
|
360
|
+
- [ViewingKeyDerive200Response](docs/ViewingKeyDerive200Response.md)
|
|
361
|
+
- [ViewingKeyDerive200ResponseData](docs/ViewingKeyDerive200ResponseData.md)
|
|
362
|
+
- [ViewingKeyDerive200ResponseDataDerivedFrom](docs/ViewingKeyDerive200ResponseDataDerivedFrom.md)
|
|
363
|
+
- [ViewingKeyDeriveRequest](docs/ViewingKeyDeriveRequest.md)
|
|
364
|
+
- [ViewingKeyDisclose200Response](docs/ViewingKeyDisclose200Response.md)
|
|
365
|
+
- [ViewingKeyDisclose200ResponseData](docs/ViewingKeyDisclose200ResponseData.md)
|
|
366
|
+
- [ViewingKeyDiscloseRequest](docs/ViewingKeyDiscloseRequest.md)
|
|
367
|
+
- [ViewingKeyDiscloseRequestTransactionData](docs/ViewingKeyDiscloseRequestTransactionData.md)
|
|
368
|
+
- [ViewingKeyGenerate200Response](docs/ViewingKeyGenerate200Response.md)
|
|
369
|
+
- [ViewingKeyGenerateRequest](docs/ViewingKeyGenerateRequest.md)
|
|
370
|
+
- [ViewingKeyVerifyHierarchy200Response](docs/ViewingKeyVerifyHierarchy200Response.md)
|
|
371
|
+
- [ViewingKeyVerifyHierarchy200ResponseData](docs/ViewingKeyVerifyHierarchy200ResponseData.md)
|
|
372
|
+
- [ViewingKeyVerifyHierarchyRequest](docs/ViewingKeyVerifyHierarchyRequest.md)
|
|
373
|
+
|
|
374
|
+
### Authorization
|
|
375
|
+
|
|
376
|
+
|
|
377
|
+
Authentication schemes defined for the API:
|
|
378
|
+
<a id="ApiKeyAuth"></a>
|
|
379
|
+
#### ApiKeyAuth
|
|
380
|
+
|
|
381
|
+
|
|
382
|
+
- **Type**: API key
|
|
383
|
+
- **API key parameter name**: `X-API-Key`
|
|
384
|
+
- **Location**: HTTP header
|
|
385
|
+
|
|
386
|
+
## About
|
|
387
|
+
|
|
388
|
+
This TypeScript SDK client supports the [Fetch API](https://fetch.spec.whatwg.org/)
|
|
389
|
+
and is automatically generated by the
|
|
390
|
+
[OpenAPI Generator](https://openapi-generator.tech) project:
|
|
391
|
+
|
|
392
|
+
- API version: `0.1.0`
|
|
393
|
+
- Package version: `0.1.0`
|
|
394
|
+
- Generator version: `7.19.0`
|
|
395
|
+
- Build package: `org.openapitools.codegen.languages.TypeScriptFetchClientCodegen`
|
|
396
|
+
|
|
397
|
+
The generated npm module supports the following:
|
|
398
|
+
|
|
399
|
+
- Environments
|
|
400
|
+
* Node.js
|
|
401
|
+
* Webpack
|
|
402
|
+
* Browserify
|
|
403
|
+
- Language levels
|
|
404
|
+
* ES5 - you must have a Promises/A+ library installed
|
|
405
|
+
* ES6
|
|
406
|
+
- Module systems
|
|
407
|
+
* CommonJS
|
|
408
|
+
* ES6 module system
|
|
409
|
+
|
|
410
|
+
For more information, please visit [https://sip-protocol.org](https://sip-protocol.org)
|
|
411
|
+
|
|
412
|
+
## Development
|
|
413
|
+
|
|
414
|
+
### Building
|
|
415
|
+
|
|
416
|
+
To build the TypeScript source code, you need to have Node.js and npm installed.
|
|
417
|
+
After cloning the repository, navigate to the project directory and run:
|
|
76
418
|
|
|
77
|
-
```
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
data?: T;
|
|
81
|
-
error?: {
|
|
82
|
-
code: string; // e.g. "VALIDATION_ERROR"
|
|
83
|
-
message: string;
|
|
84
|
-
};
|
|
85
|
-
}
|
|
419
|
+
```bash
|
|
420
|
+
npm install
|
|
421
|
+
npm run build
|
|
86
422
|
```
|
|
87
423
|
|
|
88
|
-
|
|
424
|
+
### Publishing
|
|
89
425
|
|
|
90
|
-
|
|
91
|
-
import { ResponseError } from '@sip-protocol/sipher-client';
|
|
426
|
+
Once you've built the package, you can publish it to npm:
|
|
92
427
|
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
} catch (err) {
|
|
96
|
-
if (err instanceof ResponseError) {
|
|
97
|
-
const body = await err.response.json();
|
|
98
|
-
console.error(body.error.code); // "UNAUTHORIZED"
|
|
99
|
-
console.error(body.error.message); // "Missing or invalid API key"
|
|
100
|
-
}
|
|
101
|
-
}
|
|
428
|
+
```bash
|
|
429
|
+
npm publish
|
|
102
430
|
```
|
|
103
431
|
|
|
104
|
-
##
|
|
105
|
-
|
|
106
|
-
Full interactive documentation is available at:
|
|
107
|
-
|
|
108
|
-
**https://sipher.sip-protocol.org/docs**
|
|
432
|
+
## License
|
|
109
433
|
|
|
110
|
-
|
|
434
|
+
[MIT](https://opensource.org/licenses/MIT)
|
package/dist/apis/ScanApi.d.ts
CHANGED
|
@@ -10,7 +10,10 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import * as runtime from '../runtime';
|
|
13
|
-
import type { ScanPayments200Response, ScanPaymentsBatch200Response, ScanPaymentsBatchRequest, ScanPaymentsRequest } from '../models/index';
|
|
13
|
+
import type { ScanAssets200Response, ScanAssetsRequest, ScanPayments200Response, ScanPaymentsBatch200Response, ScanPaymentsBatchRequest, ScanPaymentsRequest } from '../models/index';
|
|
14
|
+
export interface ScanAssetsOperationRequest {
|
|
15
|
+
scanAssetsRequest: ScanAssetsRequest;
|
|
16
|
+
}
|
|
14
17
|
export interface ScanPaymentsOperationRequest {
|
|
15
18
|
scanPaymentsRequest: ScanPaymentsRequest;
|
|
16
19
|
}
|
|
@@ -24,6 +27,20 @@ export interface ScanPaymentsBatchOperationRequest {
|
|
|
24
27
|
* @interface ScanApiInterface
|
|
25
28
|
*/
|
|
26
29
|
export interface ScanApiInterface {
|
|
30
|
+
/**
|
|
31
|
+
* Query all assets (SPL tokens, NFTs, cNFTs) at a stealth address using Helius DAS getAssetsByOwner API. Falls back to standard getTokenAccountsByOwner if Helius is not configured.
|
|
32
|
+
* @summary Scan stealth address assets via Helius DAS
|
|
33
|
+
* @param {ScanAssetsRequest} scanAssetsRequest
|
|
34
|
+
* @param {*} [options] Override http request option.
|
|
35
|
+
* @throws {RequiredError}
|
|
36
|
+
* @memberof ScanApiInterface
|
|
37
|
+
*/
|
|
38
|
+
scanAssetsRaw(requestParameters: ScanAssetsOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ScanAssets200Response>>;
|
|
39
|
+
/**
|
|
40
|
+
* Query all assets (SPL tokens, NFTs, cNFTs) at a stealth address using Helius DAS getAssetsByOwner API. Falls back to standard getTokenAccountsByOwner if Helius is not configured.
|
|
41
|
+
* Scan stealth address assets via Helius DAS
|
|
42
|
+
*/
|
|
43
|
+
scanAssets(scanAssetsRequest: ScanAssetsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ScanAssets200Response>;
|
|
27
44
|
/**
|
|
28
45
|
* Scans Solana for SIP announcements matching the provided viewing key.
|
|
29
46
|
* @summary Scan for incoming shielded payments
|
|
@@ -57,6 +74,16 @@ export interface ScanApiInterface {
|
|
|
57
74
|
*
|
|
58
75
|
*/
|
|
59
76
|
export declare class ScanApi extends runtime.BaseAPI implements ScanApiInterface {
|
|
77
|
+
/**
|
|
78
|
+
* Query all assets (SPL tokens, NFTs, cNFTs) at a stealth address using Helius DAS getAssetsByOwner API. Falls back to standard getTokenAccountsByOwner if Helius is not configured.
|
|
79
|
+
* Scan stealth address assets via Helius DAS
|
|
80
|
+
*/
|
|
81
|
+
scanAssetsRaw(requestParameters: ScanAssetsOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ScanAssets200Response>>;
|
|
82
|
+
/**
|
|
83
|
+
* Query all assets (SPL tokens, NFTs, cNFTs) at a stealth address using Helius DAS getAssetsByOwner API. Falls back to standard getTokenAccountsByOwner if Helius is not configured.
|
|
84
|
+
* Scan stealth address assets via Helius DAS
|
|
85
|
+
*/
|
|
86
|
+
scanAssets(scanAssetsRequest: ScanAssetsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ScanAssets200Response>;
|
|
60
87
|
/**
|
|
61
88
|
* Scans Solana for SIP announcements matching the provided viewing key.
|
|
62
89
|
* Scan for incoming shielded payments
|
package/dist/apis/ScanApi.js
CHANGED
|
@@ -29,6 +29,42 @@ const index_1 = require("../models/index");
|
|
|
29
29
|
*
|
|
30
30
|
*/
|
|
31
31
|
class ScanApi extends runtime.BaseAPI {
|
|
32
|
+
/**
|
|
33
|
+
* Query all assets (SPL tokens, NFTs, cNFTs) at a stealth address using Helius DAS getAssetsByOwner API. Falls back to standard getTokenAccountsByOwner if Helius is not configured.
|
|
34
|
+
* Scan stealth address assets via Helius DAS
|
|
35
|
+
*/
|
|
36
|
+
scanAssetsRaw(requestParameters, initOverrides) {
|
|
37
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
38
|
+
if (requestParameters['scanAssetsRequest'] == null) {
|
|
39
|
+
throw new runtime.RequiredError('scanAssetsRequest', 'Required parameter "scanAssetsRequest" was null or undefined when calling scanAssets().');
|
|
40
|
+
}
|
|
41
|
+
const queryParameters = {};
|
|
42
|
+
const headerParameters = {};
|
|
43
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
44
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
45
|
+
headerParameters["X-API-Key"] = yield this.configuration.apiKey("X-API-Key"); // ApiKeyAuth authentication
|
|
46
|
+
}
|
|
47
|
+
let urlPath = `/v1/scan/assets`;
|
|
48
|
+
const response = yield this.request({
|
|
49
|
+
path: urlPath,
|
|
50
|
+
method: 'POST',
|
|
51
|
+
headers: headerParameters,
|
|
52
|
+
query: queryParameters,
|
|
53
|
+
body: (0, index_1.ScanAssetsRequestToJSON)(requestParameters['scanAssetsRequest']),
|
|
54
|
+
}, initOverrides);
|
|
55
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.ScanAssets200ResponseFromJSON)(jsonValue));
|
|
56
|
+
});
|
|
57
|
+
}
|
|
58
|
+
/**
|
|
59
|
+
* Query all assets (SPL tokens, NFTs, cNFTs) at a stealth address using Helius DAS getAssetsByOwner API. Falls back to standard getTokenAccountsByOwner if Helius is not configured.
|
|
60
|
+
* Scan stealth address assets via Helius DAS
|
|
61
|
+
*/
|
|
62
|
+
scanAssets(scanAssetsRequest, initOverrides) {
|
|
63
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
64
|
+
const response = yield this.scanAssetsRaw({ scanAssetsRequest: scanAssetsRequest }, initOverrides);
|
|
65
|
+
return yield response.value();
|
|
66
|
+
});
|
|
67
|
+
}
|
|
32
68
|
/**
|
|
33
69
|
* Scans Solana for SIP announcements matching the provided viewing key.
|
|
34
70
|
* Scan for incoming shielded payments
|