Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

chaingate-client

Package Overview
Dependencies
Maintainers
1
Versions
41
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

chaingate-client - npm Package Compare versions

Comparing version 0.8.0 to 0.9.0

2

base.ts

@@ -7,3 +7,3 @@ /* tslint:disable */

*
* The version of the OpenAPI document: 0.8.0
* The version of the OpenAPI document: 0.9.0
*

@@ -10,0 +10,0 @@ *

@@ -7,3 +7,3 @@ /* tslint:disable */

*
* The version of the OpenAPI document: 0.8.0
* The version of the OpenAPI document: 0.9.0
*

@@ -10,0 +10,0 @@ *

@@ -7,3 +7,3 @@ /* tslint:disable */

*
* The version of the OpenAPI document: 0.8.0
* The version of the OpenAPI document: 0.9.0
*

@@ -10,0 +10,0 @@ *

@@ -5,3 +5,3 @@ /**

*
* The version of the OpenAPI document: 0.8.0
* The version of the OpenAPI document: 0.9.0
*

@@ -58,2 +58,21 @@ *

* @export
* @interface AddressHistory200Response
*/
export interface AddressHistory200Response {
/**
*
* @type {Array<LatestBlock200Response>}
* @memberof AddressHistory200Response
*/
'transactions': Array<LatestBlock200Response>;
/**
*
* @type {number}
* @memberof AddressHistory200Response
*/
'page': number;
}
/**
*
* @export
* @interface Block

@@ -104,28 +123,2 @@ */

* @export
* @interface CalculateFees200Response
*/
export interface CalculateFees200Response {
/**
*
* @type {string}
* @memberof CalculateFees200Response
*/
'feePerByte': string;
}
/**
*
* @export
* @interface CalculateFees200Response1
*/
export interface CalculateFees200Response1 {
/**
*
* @type {string}
* @memberof CalculateFees200Response1
*/
'gasPrice': string;
}
/**
*
* @export
* @interface CallExec200Response

@@ -268,2 +261,64 @@ */

* @export
* @interface Mempool200Response1
*/
export interface Mempool200Response1 {
/**
*
* @type {number}
* @memberof Mempool200Response1
*/
'lastPage': number;
/**
*
* @type {Array<string>}
* @memberof Mempool200Response1
*/
'transactions': Array<string>;
/**
*
* @type {number}
* @memberof Mempool200Response1
*/
'page': number;
/**
*
* @type {number}
* @memberof Mempool200Response1
*/
'lastUpdateTimestamp': number;
}
/**
*
* @export
* @interface Mempool200Response1AnyOf
*/
export interface Mempool200Response1AnyOf {
/**
*
* @type {number}
* @memberof Mempool200Response1AnyOf
*/
'lastPage': number;
/**
*
* @type {Array<string>}
* @memberof Mempool200Response1AnyOf
*/
'transactions': Array<string>;
/**
*
* @type {number}
* @memberof Mempool200Response1AnyOf
*/
'page': number;
/**
*
* @type {number}
* @memberof Mempool200Response1AnyOf
*/
'lastUpdateTimestamp': number;
}
/**
*
* @export
* @interface MempoolResponse

@@ -294,2 +349,21 @@ */

* @export
* @interface PossibleFeesValue
*/
export interface PossibleFeesValue {
/**
*
* @type {number}
* @memberof PossibleFeesValue
*/
'confirmationTimeSecs': number;
/**
*
* @type {string}
* @memberof PossibleFeesValue
*/
'feePerByte': string;
}
/**
*
* @export
* @interface Transfer

@@ -487,2 +561,21 @@ */

* @export
* @interface UtxosByAddress200Response
*/
export interface UtxosByAddress200Response {
/**
*
* @type {Array<UtxosUtxosInner>}
* @memberof UtxosByAddress200Response
*/
'utxos': Array<UtxosUtxosInner>;
/**
*
* @type {number}
* @memberof UtxosByAddress200Response
*/
'page': number;
}
/**
*
* @export
* @interface UtxosUtxosInner

@@ -546,3 +639,3 @@ */

/**
* Retrieves block transactions (Specify either blockHash or blockHeight)
* Retrieves block transactions
* @summary Transactions in a block

@@ -563,9 +656,8 @@ * @param {number} [blockHeight]

/**
* Calculate fees for a transaction
* @summary Calculate fees
* @param {number} [secondsTarget]
* Get fees needed for a transaction
* @summary Get fee rate
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
calculateFees: (secondsTarget?: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
feeRate: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
/**

@@ -633,3 +725,3 @@ * Retrieves block height

*/
addressHistory(address: string, page?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TxoAddressHistory>>;
addressHistory(address: string, page?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AddressHistory200Response>>;
/**

@@ -643,3 +735,3 @@ *

/**
* Retrieves block transactions (Specify either blockHash or blockHeight)
* Retrieves block transactions
* @summary Transactions in a block

@@ -660,9 +752,10 @@ * @param {number} [blockHeight]

/**
* Calculate fees for a transaction
* @summary Calculate fees
* @param {number} [secondsTarget]
* Get fees needed for a transaction
* @summary Get fee rate
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
calculateFees(secondsTarget?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CalculateFees200Response>>;
feeRate(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<{
[key: string]: PossibleFeesValue;
}>>;
/**

@@ -690,3 +783,3 @@ * Retrieves block height

*/
mempool(page?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<MempoolResponse>>;
mempool(page?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Mempool200Response>>;
/**

@@ -708,3 +801,3 @@ * Retrieves transactions details

*/
utxosByAddress(address: string, page?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Utxos>>;
utxosByAddress(address: string, page?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UtxosByAddress200Response>>;
};

@@ -732,3 +825,3 @@ /**

*/
addressHistory(address: string, page?: number, options?: any): AxiosPromise<TxoAddressHistory>;
addressHistory(address: string, page?: number, options?: any): AxiosPromise<AddressHistory200Response>;
/**

@@ -742,3 +835,3 @@ *

/**
* Retrieves block transactions (Specify either blockHash or blockHeight)
* Retrieves block transactions
* @summary Transactions in a block

@@ -759,9 +852,10 @@ * @param {number} [blockHeight]

/**
* Calculate fees for a transaction
* @summary Calculate fees
* @param {number} [secondsTarget]
* Get fees needed for a transaction
* @summary Get fee rate
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
calculateFees(secondsTarget?: number, options?: any): AxiosPromise<CalculateFees200Response>;
feeRate(options?: any): AxiosPromise<{
[key: string]: PossibleFeesValue;
}>;
/**

@@ -789,3 +883,3 @@ * Retrieves block height

*/
mempool(page?: number, options?: any): AxiosPromise<MempoolResponse>;
mempool(page?: number, options?: any): AxiosPromise<Mempool200Response>;
/**

@@ -807,3 +901,3 @@ * Retrieves transactions details

*/
utxosByAddress(address: string, page?: number, options?: any): AxiosPromise<Utxos>;
utxosByAddress(address: string, page?: number, options?: any): AxiosPromise<UtxosByAddress200Response>;
};

@@ -835,3 +929,3 @@ /**

*/
addressHistory(address: string, page?: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<TxoAddressHistory, any>>;
addressHistory(address: string, page?: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AddressHistory200Response, any>>;
/**

@@ -846,3 +940,3 @@ *

/**
* Retrieves block transactions (Specify either blockHash or blockHeight)
* Retrieves block transactions
* @summary Transactions in a block

@@ -865,5 +959,4 @@ * @param {number} [blockHeight]

/**
* Calculate fees for a transaction
* @summary Calculate fees
* @param {number} [secondsTarget]
* Get fees needed for a transaction
* @summary Get fee rate
* @param {*} [options] Override http request option.

@@ -873,3 +966,5 @@ * @throws {RequiredError}

*/
calculateFees(secondsTarget?: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CalculateFees200Response, any>>;
feeRate(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<{
[key: string]: PossibleFeesValue;
}, any>>;
/**

@@ -900,3 +995,3 @@ * Retrieves block height

*/
mempool(page?: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<MempoolResponse, any>>;
mempool(page?: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Mempool200Response, any>>;
/**

@@ -920,3 +1015,3 @@ * Retrieves transactions details

*/
utxosByAddress(address: string, page?: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Utxos, any>>;
utxosByAddress(address: string, page?: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<UtxosByAddress200Response, any>>;
}

@@ -974,10 +1069,2 @@ /**

/**
* Calculate fees for a transaction
* @summary Calculate fees
* @param {number} [secondsTarget]
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
calculateFees: (secondsTarget?: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
/**
*

@@ -991,2 +1078,9 @@ * @summary Execute smart contract function

/**
* Get fees needed for a transaction
* @summary Get fee rate
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
feeRate: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
/**
* Retrieves block height

@@ -1074,10 +1168,2 @@ * @summary Bloch height by hash

/**
* Calculate fees for a transaction
* @summary Calculate fees
* @param {number} [secondsTarget]
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
calculateFees(secondsTarget?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CalculateFees200Response1>>;
/**
*

@@ -1091,2 +1177,11 @@ * @summary Execute smart contract function

/**
* Get fees needed for a transaction
* @summary Get fee rate
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
feeRate(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<{
[key: string]: PossibleFeesValue;
}>>;
/**
* Retrieves block height

@@ -1113,3 +1208,3 @@ * @summary Bloch height by hash

*/
mempool(page?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Mempool200Response>>;
mempool(page?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Mempool200Response1>>;
/**

@@ -1175,10 +1270,2 @@ * Retrieves transactions details

/**
* Calculate fees for a transaction
* @summary Calculate fees
* @param {number} [secondsTarget]
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
calculateFees(secondsTarget?: number, options?: any): AxiosPromise<CalculateFees200Response1>;
/**
*

@@ -1192,2 +1279,11 @@ * @summary Execute smart contract function

/**
* Get fees needed for a transaction
* @summary Get fee rate
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
feeRate(options?: any): AxiosPromise<{
[key: string]: PossibleFeesValue;
}>;
/**
* Retrieves block height

@@ -1214,3 +1310,3 @@ * @summary Bloch height by hash

*/
mempool(page?: number, options?: any): AxiosPromise<Mempool200Response>;
mempool(page?: number, options?: any): AxiosPromise<Mempool200Response1>;
/**

@@ -1284,5 +1380,5 @@ * Retrieves transactions details

/**
* Calculate fees for a transaction
* @summary Calculate fees
* @param {number} [secondsTarget]
*
* @summary Execute smart contract function
* @param {CallExecRequest} callExecRequest
* @param {*} [options] Override http request option.

@@ -1292,7 +1388,6 @@ * @throws {RequiredError}

*/
calculateFees(secondsTarget?: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CalculateFees200Response1, any>>;
callExec(callExecRequest: CallExecRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CallExec200Response, any>>;
/**
*
* @summary Execute smart contract function
* @param {CallExecRequest} callExecRequest
* Get fees needed for a transaction
* @summary Get fee rate
* @param {*} [options] Override http request option.

@@ -1302,3 +1397,5 @@ * @throws {RequiredError}

*/
callExec(callExecRequest: CallExecRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CallExec200Response, any>>;
feeRate(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<{
[key: string]: PossibleFeesValue;
}, any>>;
/**

@@ -1329,3 +1426,3 @@ * Retrieves block height

*/
mempool(page?: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Mempool200Response, any>>;
mempool(page?: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Mempool200Response1, any>>;
/**

@@ -1332,0 +1429,0 @@ * Retrieves transactions details

@@ -5,3 +5,3 @@ /**

*
* The version of the OpenAPI document: 0.8.0
* The version of the OpenAPI document: 0.9.0
*

@@ -8,0 +8,0 @@ *

@@ -8,3 +8,3 @@ "use strict";

*
* The version of the OpenAPI document: 0.8.0
* The version of the OpenAPI document: 0.9.0
*

@@ -11,0 +11,0 @@ *

@@ -5,3 +5,3 @@ /**

*
* The version of the OpenAPI document: 0.8.0
* The version of the OpenAPI document: 0.9.0
*

@@ -8,0 +8,0 @@ *

@@ -8,3 +8,3 @@ "use strict";

*
* The version of the OpenAPI document: 0.8.0
* The version of the OpenAPI document: 0.9.0
*

@@ -11,0 +11,0 @@ *

@@ -5,3 +5,3 @@ /**

*
* The version of the OpenAPI document: 0.8.0
* The version of the OpenAPI document: 0.9.0
*

@@ -8,0 +8,0 @@ *

@@ -8,3 +8,3 @@ "use strict";

*
* The version of the OpenAPI document: 0.8.0
* The version of the OpenAPI document: 0.9.0
*

@@ -11,0 +11,0 @@ *

{
"name": "chaingate-client",
"version": "0.8.0",
"version": "0.9.0",
"description": "OpenAPI client for chaingate-client",

@@ -5,0 +5,0 @@ "author": "drakensoftware",

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc