@circle-fin/smart-contract-platform 10.3.1 → 10.5.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.
|
@@ -1361,7 +1361,7 @@ declare const WebhookSubscriptionsApiAxiosParamCreator: (configuration?: Configu
|
|
|
1361
1361
|
*/
|
|
1362
1362
|
deleteSubscription: (id: string, xRequestId?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
1363
1363
|
/**
|
|
1364
|
-
* Get the public key and algorithm used to digitally sign webhook notifications. Verifying the digital signature ensures the notification came from Circle. In the headers of each webhook, you can find 1. `X-Circle-Signature`: a header containing the digital signature generated by Circle. 2. `X-Circle-Key-Id`: a header containing the UUID. This is
|
|
1364
|
+
* Get the public key and algorithm used to digitally sign webhook notifications. Verifying the digital signature ensures the notification came from Circle. In the headers of each webhook, you can find 1. `X-Circle-Signature`: a header containing the digital signature generated by Circle. 2. `X-Circle-Key-Id`: a header containing the UUID. This value is used as the `ID` URL parameter to retrieve the relevant public key.
|
|
1365
1365
|
* @summary Get a notification signature public key
|
|
1366
1366
|
* @param {string} id The universally unique identifier of the resource.
|
|
1367
1367
|
* @param {string} [xRequestId] Developer-provided identifier for this request, used for tracing requests in Wallets API logs and the Developer Console, and when communicating with Circle Support. **Must be a UUID to appear in logs.** Non-UUID values are accepted by the API but are ignored by logging and tracing systems.
|
|
@@ -1420,7 +1420,7 @@ declare const WebhookSubscriptionsApiFp: (configuration?: Configuration) => {
|
|
|
1420
1420
|
*/
|
|
1421
1421
|
deleteSubscription(id: string, xRequestId?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
1422
1422
|
/**
|
|
1423
|
-
* Get the public key and algorithm used to digitally sign webhook notifications. Verifying the digital signature ensures the notification came from Circle. In the headers of each webhook, you can find 1. `X-Circle-Signature`: a header containing the digital signature generated by Circle. 2. `X-Circle-Key-Id`: a header containing the UUID. This is
|
|
1423
|
+
* Get the public key and algorithm used to digitally sign webhook notifications. Verifying the digital signature ensures the notification came from Circle. In the headers of each webhook, you can find 1. `X-Circle-Signature`: a header containing the digital signature generated by Circle. 2. `X-Circle-Key-Id`: a header containing the UUID. This value is used as the `ID` URL parameter to retrieve the relevant public key.
|
|
1424
1424
|
* @summary Get a notification signature public key
|
|
1425
1425
|
* @param {string} id The universally unique identifier of the resource.
|
|
1426
1426
|
* @param {string} [xRequestId] Developer-provided identifier for this request, used for tracing requests in Wallets API logs and the Developer Console, and when communicating with Circle Support. **Must be a UUID to appear in logs.** Non-UUID values are accepted by the API but are ignored by logging and tracing systems.
|
|
@@ -1479,7 +1479,7 @@ declare const WebhookSubscriptionsApiFactory: (configuration?: Configuration, ba
|
|
|
1479
1479
|
*/
|
|
1480
1480
|
deleteSubscription(id: string, xRequestId?: string, options?: any): AxiosPromise<void>;
|
|
1481
1481
|
/**
|
|
1482
|
-
* Get the public key and algorithm used to digitally sign webhook notifications. Verifying the digital signature ensures the notification came from Circle. In the headers of each webhook, you can find 1. `X-Circle-Signature`: a header containing the digital signature generated by Circle. 2. `X-Circle-Key-Id`: a header containing the UUID. This is
|
|
1482
|
+
* Get the public key and algorithm used to digitally sign webhook notifications. Verifying the digital signature ensures the notification came from Circle. In the headers of each webhook, you can find 1. `X-Circle-Signature`: a header containing the digital signature generated by Circle. 2. `X-Circle-Key-Id`: a header containing the UUID. This value is used as the `ID` URL parameter to retrieve the relevant public key.
|
|
1483
1483
|
* @summary Get a notification signature public key
|
|
1484
1484
|
* @param {string} id The universally unique identifier of the resource.
|
|
1485
1485
|
* @param {string} [xRequestId] Developer-provided identifier for this request, used for tracing requests in Wallets API logs and the Developer Console, and when communicating with Circle Support. **Must be a UUID to appear in logs.** Non-UUID values are accepted by the API but are ignored by logging and tracing systems.
|
|
@@ -1542,7 +1542,7 @@ declare class WebhookSubscriptionsApi extends BaseAPI {
|
|
|
1542
1542
|
*/
|
|
1543
1543
|
deleteSubscription(id: string, xRequestId?: string, options?: AxiosRequestConfig): Promise<axios.AxiosResponse<void, any, {}>>;
|
|
1544
1544
|
/**
|
|
1545
|
-
* Get the public key and algorithm used to digitally sign webhook notifications. Verifying the digital signature ensures the notification came from Circle. In the headers of each webhook, you can find 1. `X-Circle-Signature`: a header containing the digital signature generated by Circle. 2. `X-Circle-Key-Id`: a header containing the UUID. This is
|
|
1545
|
+
* Get the public key and algorithm used to digitally sign webhook notifications. Verifying the digital signature ensures the notification came from Circle. In the headers of each webhook, you can find 1. `X-Circle-Signature`: a header containing the digital signature generated by Circle. 2. `X-Circle-Key-Id`: a header containing the UUID. This value is used as the `ID` URL parameter to retrieve the relevant public key.
|
|
1546
1546
|
* @summary Get a notification signature public key
|
|
1547
1547
|
* @param {string} id The universally unique identifier of the resource.
|
|
1548
1548
|
* @param {string} [xRequestId] Developer-provided identifier for this request, used for tracing requests in Wallets API logs and the Developer Console, and when communicating with Circle Support. **Must be a UUID to appear in logs.** Non-UUID values are accepted by the API but are ignored by logging and tracing systems.
|
|
@@ -1556,5 +1556,39 @@ declare class Error177901 extends HttpResponseError {
|
|
|
1556
1556
|
static readonly message = "smart contract query failed";
|
|
1557
1557
|
}
|
|
1558
1558
|
|
|
1559
|
-
|
|
1559
|
+
/**
|
|
1560
|
+
* Numeric EIP-155 chain ID for each EVM `Blockchain`.
|
|
1561
|
+
*
|
|
1562
|
+
* Keys mirror the PascalCase keys of the `Blockchain` / `EvmBlockchain` enums —
|
|
1563
|
+
* `EvmBlockchainId.Eth` is the chain ID paired with `Blockchain.Eth` (`'ETH'`).
|
|
1564
|
+
* Circle does not expose this mapping via any endpoint, so this table is the
|
|
1565
|
+
* single source of truth for the correspondence.
|
|
1566
|
+
*
|
|
1567
|
+
* The `satisfies` constraint ties the key set to `EvmBlockchain` minus the
|
|
1568
|
+
* `EVM` / `EVM-TESTNET` routing sentinels (which have no numeric ID). Any new
|
|
1569
|
+
* EVM chain added to the OpenAPI spec widens `EvmBlockchain` and triggers a
|
|
1570
|
+
* compile error here until an entry is added.
|
|
1571
|
+
*/
|
|
1572
|
+
declare const EvmBlockchainId: {
|
|
1573
|
+
readonly Eth: 1;
|
|
1574
|
+
readonly Op: 10;
|
|
1575
|
+
readonly Uni: 130;
|
|
1576
|
+
readonly Matic: 137;
|
|
1577
|
+
readonly Monad: 143;
|
|
1578
|
+
readonly UniSepolia: 1301;
|
|
1579
|
+
readonly Base: 8453;
|
|
1580
|
+
readonly MonadTestnet: 10143;
|
|
1581
|
+
readonly EthSepolia: 11155111;
|
|
1582
|
+
readonly OpSepolia: 11155420;
|
|
1583
|
+
readonly Arb: 42161;
|
|
1584
|
+
readonly AvaxFuji: 43113;
|
|
1585
|
+
readonly Avax: 43114;
|
|
1586
|
+
readonly MaticAmoy: 80002;
|
|
1587
|
+
readonly BaseSepolia: 84532;
|
|
1588
|
+
readonly ArcTestnet: 5042002;
|
|
1589
|
+
readonly ArbSepolia: 421614;
|
|
1590
|
+
};
|
|
1591
|
+
type EvmBlockchainId = (typeof EvmBlockchainId)[keyof typeof EvmBlockchainId];
|
|
1592
|
+
|
|
1593
|
+
export { BadGatewayError, BadRequestError, ConnectionAbortedError, ConnectionRefusedError, ConnectionResetError, ConnectionTimeoutError, DNSNotFoundError, DNSTimeoutError, Error110700, Error110701, Error110702, Error110703, Error155101, Error155102, Error155103, Error155104, Error155105, Error155106, Error155107, Error155108, Error155109, Error155110, Error155111, Error155112, Error155113, Error155114, Error155115, Error155116, Error155117, Error155118, Error155119, Error155120, Error155121, Error155122, Error155123, Error155124, Error155130, Error155131, Error155132, Error155133, Error155134, Error155135, Error155136, Error155137, Error155138, Error155139, Error155140, Error155141, Error155142, Error155143, Error155144, Error155145, Error155146, Error155150, Error155151, Error155152, Error155154, Error155155, Error155156, Error155157, Error155158, Error155159, Error155160, Error155201, Error155202, Error155203, Error155204, Error155205, Error155206, Error155207, Error155208, Error155209, Error155210, Error155211, Error155215, Error155218, Error155219, Error155220, Error155221, Error155222, Error155223, Error155224, Error155225, Error155226, Error155227, Error155228, Error155229, Error155230, Error155231, Error155232, Error155233, Error155234, Error155235, Error155236, Error155237, Error155238, Error155239, Error155240, Error155241, Error155242, Error155243, Error155244, Error155245, Error155247, Error155254, Error155257, Error155258, Error155262, Error155264, Error155501, Error155502, Error155503, Error155504, Error155505, Error155506, Error155507, Error155508, Error155509, Error155510, Error155511, Error155512, Error155514, Error155515, Error155516, Error155517, Error155601, Error155701, Error155702, Error155703, Error155704, Error155705, Error155706, Error155707, Error155708, Error155709, Error155710, Error155711, Error155712, Error155713, Error155714, Error155715, Error155716, Error155717, Error155718, Error155719, Error155720, Error155721, Error155801, Error155802, Error155803, Error155804, Error155805, Error155806, Error155807, Error155808, Error156001, Error156002, Error156003, Error156004, Error156005, Error156006, Error156007, Error156008, Error156009, Error156010, Error156011, Error156012, Error156013, Error156014, Error156015, Error156016, Error156017, Error156018, Error156019, Error156020, Error156021, Error156023, Error156024, Error156025, Error156026, Error156027, Error156030, Error156031, Error156032, Error175001, Error175002, Error175003, Error175004, Error175005, Error175006, Error175007, Error175008, Error175009, Error175010, Error175011, Error175012, Error175013, Error175201, Error175202, Error175203, Error175204, Error175205, Error175301, Error175302, Error175303, Error175401, Error175402, Error175403, Error175404, Error175405, Error175406, Error175407, Error175408, Error175409, Error175410, Error177001, Error177002, Error177003, Error177004, Error177005, Error177006, Error177007, Error177008, Error177009, Error177010, Error177011, Error177012, Error177013, Error177014, Error177015, Error177016, Error177017, Error177018, Error177019, Error177020, Error177021, Error177022, Error177023, Error177024, Error177025, Error177026, Error177301, Error177302, Error177303, Error177304, Error177305, Error177601, Error177602, Error177603, Error177604, Error177605, Error177606, Error177607, Error177901, EvmBlockchainId, ForbiddenError, GatewayTimeoutError, HostUnreachableError, HttpError, HttpRequestError, HttpResponseError, InMemoryStorage, InternalServerError, NetworkUnreachableError, NotFoundError, NotImplementedError, RatelimitError, ServiceUnavailableError, UnauthorizedError, createMonitoredTokens, createSubscription, deleteMonitoredTokens, deleteSubscription, fromAxiosError, generateEntitySecretCiphertext, generateIdempotencyKey, getNotificationSignature, getPublicKey, getSubscription, listMonitoredTokens, listSubscriptions, requestTestnetTokens, resolvePathRelativeToAppDir, trimData, updateMonitoredTokens, updateMonitoredTokensScope, updateSubscription };
|
|
1560
1594
|
export type { APIParams, APIReturnType, ClientParams, Common, CreateMonitoredTokensInput, CreateSubscriptionInput, DeleteMonitoredTokensInput, FeeConfiguration, ListMonitoredTokensInput, Pagination, RequestTestnetTokensInput, Storage, TrimDataResponse, UpdateMonitoredTokensInput, UpdateMonitoredTokensScopeInput, UpdateSubscriptionInput, WithIdempotencyKey };
|
package/package.json
CHANGED