@fractalwagmi/fractal-sdk-public-api
Advanced tools
Comparing version 0.0.18 to 0.0.19
@@ -26,6 +26,9 @@ export interface FractalSdkAdminGetTransactionStatusResponse { | ||
} | ||
export interface FractalSdkExperimentalCreateMintTransactionRequest { | ||
export interface FractalSdkExperimentalEvmTransactionEVMAuthorizeSendTransactionResponse { | ||
URL?: string; | ||
} | ||
export interface FractalSdkExperimentalSolanaMintCreateMintTransactionRequest { | ||
payer: string; | ||
recipient: string; | ||
metadata: FractalSdkExperimentalMetadata; | ||
metadata: FractalSdkExperimentalSolanaMintMetadata; | ||
/** | ||
@@ -39,6 +42,6 @@ * If not provided, user only needs to pay for account creation and network fees. | ||
} | ||
export interface FractalSdkExperimentalCreateMintTransactionResponse { | ||
export interface FractalSdkExperimentalSolanaMintCreateMintTransactionResponse { | ||
url: string; | ||
} | ||
export interface FractalSdkExperimentalCreator { | ||
export interface FractalSdkExperimentalSolanaMintCreator { | ||
address: string; | ||
@@ -48,3 +51,3 @@ /** @format int32 */ | ||
} | ||
export interface FractalSdkExperimentalMetadata { | ||
export interface FractalSdkExperimentalSolanaMintMetadata { | ||
name: string; | ||
@@ -57,8 +60,5 @@ symbol: string; | ||
attributes?: Record<string, string>; | ||
creators: FractalSdkExperimentalCreator[]; | ||
creators: FractalSdkExperimentalSolanaMintCreator[]; | ||
externalUrl?: string; | ||
} | ||
export interface FractalSdkExperimentalEvmTransactionEVMAuthorizeSendTransactionResponse { | ||
URL?: string; | ||
} | ||
export interface FractalSdkMarketplaceGetCollectionsResponse { | ||
@@ -307,2 +307,19 @@ collections: FractalSdkMarketplaceGetCollectionsResponseCollection[]; | ||
} | ||
export declare namespace Experimental { | ||
/** | ||
* @description Creates a mint transaction. Requires project API token and additional setup. Please contact our dev team if you'd like to use this feature. | ||
* @tags SolanaMintExperimentalService | ||
* @name CreateMintTransaction | ||
* @summary createMintTransaction | ||
* @request POST:/sdk/experimental/solana/create_mint_transaction | ||
* @secure | ||
*/ | ||
namespace CreateMintTransaction { | ||
type RequestParams = {}; | ||
type RequestQuery = {}; | ||
type RequestBody = FractalSdkExperimentalSolanaMintCreateMintTransactionRequest; | ||
type RequestHeaders = {}; | ||
type ResponseBody = FractalSdkExperimentalSolanaMintCreateMintTransactionResponse; | ||
} | ||
} | ||
export declare namespace Transaction { | ||
@@ -484,5 +501,5 @@ /** | ||
/** | ||
* @description Creates a mint transaction. Requires project API token and additonal setup. Please contact our dev team if you'd like to use this feature. | ||
* @tags ExperimentalService | ||
* @name CreateMintTransaction | ||
* @description Creates a mint transaction. Requires project API token and additional setup. Please contact our dev team if you'd like to use this feature. | ||
* @tags SolanaMintExperimentalService | ||
* @name CreateMintTransaction2 | ||
* @summary createMintTransaction | ||
@@ -492,8 +509,8 @@ * @request POST:/sdk/v1/mint | ||
*/ | ||
namespace CreateMintTransaction { | ||
namespace CreateMintTransaction2 { | ||
type RequestParams = {}; | ||
type RequestQuery = {}; | ||
type RequestBody = FractalSdkExperimentalCreateMintTransactionRequest; | ||
type RequestBody = FractalSdkExperimentalSolanaMintCreateMintTransactionRequest; | ||
type RequestHeaders = {}; | ||
type ResponseBody = FractalSdkExperimentalCreateMintTransactionResponse; | ||
type ResponseBody = FractalSdkExperimentalSolanaMintCreateMintTransactionResponse; | ||
} | ||
@@ -801,2 +818,14 @@ /** | ||
}; | ||
experimental: { | ||
/** | ||
* @description Creates a mint transaction. Requires project API token and additional setup. Please contact our dev team if you'd like to use this feature. | ||
* | ||
* @tags SolanaMintExperimentalService | ||
* @name CreateMintTransaction | ||
* @summary createMintTransaction | ||
* @request POST:/sdk/experimental/solana/create_mint_transaction | ||
* @secure | ||
*/ | ||
createMintTransaction: (body: FractalSdkExperimentalSolanaMintCreateMintTransactionRequest, params?: RequestParams) => Promise<HttpResponse<FractalSdkExperimentalSolanaMintCreateMintTransactionResponse, GoogleRpcStatus>>; | ||
}; | ||
transaction: { | ||
@@ -922,6 +951,6 @@ /** | ||
/** | ||
* @description Creates a mint transaction. Requires project API token and additonal setup. Please contact our dev team if you'd like to use this feature. | ||
* @description Creates a mint transaction. Requires project API token and additional setup. Please contact our dev team if you'd like to use this feature. | ||
* | ||
* @tags ExperimentalService | ||
* @name CreateMintTransaction | ||
* @tags SolanaMintExperimentalService | ||
* @name CreateMintTransaction2 | ||
* @summary createMintTransaction | ||
@@ -931,3 +960,3 @@ * @request POST:/sdk/v1/mint | ||
*/ | ||
createMintTransaction: (body: FractalSdkExperimentalCreateMintTransactionRequest, params?: RequestParams) => Promise<HttpResponse<FractalSdkExperimentalCreateMintTransactionResponse, GoogleRpcStatus>>; | ||
createMintTransaction2: (body: FractalSdkExperimentalSolanaMintCreateMintTransactionRequest, params?: RequestParams) => Promise<HttpResponse<FractalSdkExperimentalSolanaMintCreateMintTransactionResponse, GoogleRpcStatus>>; | ||
/** | ||
@@ -934,0 +963,0 @@ * @description Returns details about a given score. Requires project API token. |
@@ -234,2 +234,14 @@ "use strict"; | ||
}; | ||
this.experimental = { | ||
/** | ||
* @description Creates a mint transaction. Requires project API token and additional setup. Please contact our dev team if you'd like to use this feature. | ||
* | ||
* @tags SolanaMintExperimentalService | ||
* @name CreateMintTransaction | ||
* @summary createMintTransaction | ||
* @request POST:/sdk/experimental/solana/create_mint_transaction | ||
* @secure | ||
*/ | ||
createMintTransaction: (body, params = {}) => this.request(Object.assign({ path: `/sdk/experimental/solana/create_mint_transaction`, method: "POST", body: body, secure: true, format: "json" }, params)), | ||
}; | ||
this.transaction = { | ||
@@ -336,6 +348,6 @@ /** | ||
/** | ||
* @description Creates a mint transaction. Requires project API token and additonal setup. Please contact our dev team if you'd like to use this feature. | ||
* @description Creates a mint transaction. Requires project API token and additional setup. Please contact our dev team if you'd like to use this feature. | ||
* | ||
* @tags ExperimentalService | ||
* @name CreateMintTransaction | ||
* @tags SolanaMintExperimentalService | ||
* @name CreateMintTransaction2 | ||
* @summary createMintTransaction | ||
@@ -345,3 +357,3 @@ * @request POST:/sdk/v1/mint | ||
*/ | ||
createMintTransaction: (body, params = {}) => this.request(Object.assign({ path: `/sdk/v1/mint`, method: "POST", body: body, secure: true, type: ContentType.Json, format: "json" }, params)), | ||
createMintTransaction2: (body, params = {}) => this.request(Object.assign({ path: `/sdk/v1/mint`, method: "POST", body: body, secure: true, format: "json" }, params)), | ||
/** | ||
@@ -348,0 +360,0 @@ * @description Returns details about a given score. Requires project API token. |
@@ -45,6 +45,10 @@ /* eslint-disable */ | ||
export interface FractalSdkExperimentalCreateMintTransactionRequest { | ||
export interface FractalSdkExperimentalEvmTransactionEVMAuthorizeSendTransactionResponse { | ||
URL?: string; | ||
} | ||
export interface FractalSdkExperimentalSolanaMintCreateMintTransactionRequest { | ||
payer: string; | ||
recipient: string; | ||
metadata: FractalSdkExperimentalMetadata; | ||
metadata: FractalSdkExperimentalSolanaMintMetadata; | ||
@@ -61,7 +65,7 @@ /** | ||
export interface FractalSdkExperimentalCreateMintTransactionResponse { | ||
export interface FractalSdkExperimentalSolanaMintCreateMintTransactionResponse { | ||
url: string; | ||
} | ||
export interface FractalSdkExperimentalCreator { | ||
export interface FractalSdkExperimentalSolanaMintCreator { | ||
address: string; | ||
@@ -73,3 +77,3 @@ | ||
export interface FractalSdkExperimentalMetadata { | ||
export interface FractalSdkExperimentalSolanaMintMetadata { | ||
name: string; | ||
@@ -83,10 +87,6 @@ symbol: string; | ||
attributes?: Record<string, string>; | ||
creators: FractalSdkExperimentalCreator[]; | ||
creators: FractalSdkExperimentalSolanaMintCreator[]; | ||
externalUrl?: string; | ||
} | ||
export interface FractalSdkExperimentalEvmTransactionEVMAuthorizeSendTransactionResponse { | ||
URL?: string; | ||
} | ||
export interface FractalSdkMarketplaceGetCollectionsResponse { | ||
@@ -367,2 +367,20 @@ collections: FractalSdkMarketplaceGetCollectionsResponseCollection[]; | ||
export namespace Experimental { | ||
/** | ||
* @description Creates a mint transaction. Requires project API token and additional setup. Please contact our dev team if you'd like to use this feature. | ||
* @tags SolanaMintExperimentalService | ||
* @name CreateMintTransaction | ||
* @summary createMintTransaction | ||
* @request POST:/sdk/experimental/solana/create_mint_transaction | ||
* @secure | ||
*/ | ||
export namespace CreateMintTransaction { | ||
export type RequestParams = {}; | ||
export type RequestQuery = {}; | ||
export type RequestBody = FractalSdkExperimentalSolanaMintCreateMintTransactionRequest; | ||
export type RequestHeaders = {}; | ||
export type ResponseBody = FractalSdkExperimentalSolanaMintCreateMintTransactionResponse; | ||
} | ||
} | ||
export namespace Transaction { | ||
@@ -524,5 +542,5 @@ /** | ||
/** | ||
* @description Creates a mint transaction. Requires project API token and additonal setup. Please contact our dev team if you'd like to use this feature. | ||
* @tags ExperimentalService | ||
* @name CreateMintTransaction | ||
* @description Creates a mint transaction. Requires project API token and additional setup. Please contact our dev team if you'd like to use this feature. | ||
* @tags SolanaMintExperimentalService | ||
* @name CreateMintTransaction2 | ||
* @summary createMintTransaction | ||
@@ -532,8 +550,8 @@ * @request POST:/sdk/v1/mint | ||
*/ | ||
export namespace CreateMintTransaction { | ||
export namespace CreateMintTransaction2 { | ||
export type RequestParams = {}; | ||
export type RequestQuery = {}; | ||
export type RequestBody = FractalSdkExperimentalCreateMintTransactionRequest; | ||
export type RequestBody = FractalSdkExperimentalSolanaMintCreateMintTransactionRequest; | ||
export type RequestHeaders = {}; | ||
export type ResponseBody = FractalSdkExperimentalCreateMintTransactionResponse; | ||
export type ResponseBody = FractalSdkExperimentalSolanaMintCreateMintTransactionResponse; | ||
} | ||
@@ -1008,2 +1026,25 @@ /** | ||
}; | ||
experimental = { | ||
/** | ||
* @description Creates a mint transaction. Requires project API token and additional setup. Please contact our dev team if you'd like to use this feature. | ||
* | ||
* @tags SolanaMintExperimentalService | ||
* @name CreateMintTransaction | ||
* @summary createMintTransaction | ||
* @request POST:/sdk/experimental/solana/create_mint_transaction | ||
* @secure | ||
*/ | ||
createMintTransaction: ( | ||
body: FractalSdkExperimentalSolanaMintCreateMintTransactionRequest, | ||
params: RequestParams = {}, | ||
) => | ||
this.request<FractalSdkExperimentalSolanaMintCreateMintTransactionResponse, GoogleRpcStatus>({ | ||
path: `/sdk/experimental/solana/create_mint_transaction`, | ||
method: "POST", | ||
body: body, | ||
secure: true, | ||
format: "json", | ||
...params, | ||
}), | ||
}; | ||
transaction = { | ||
@@ -1204,6 +1245,6 @@ /** | ||
/** | ||
* @description Creates a mint transaction. Requires project API token and additonal setup. Please contact our dev team if you'd like to use this feature. | ||
* @description Creates a mint transaction. Requires project API token and additional setup. Please contact our dev team if you'd like to use this feature. | ||
* | ||
* @tags ExperimentalService | ||
* @name CreateMintTransaction | ||
* @tags SolanaMintExperimentalService | ||
* @name CreateMintTransaction2 | ||
* @summary createMintTransaction | ||
@@ -1213,4 +1254,7 @@ * @request POST:/sdk/v1/mint | ||
*/ | ||
createMintTransaction: (body: FractalSdkExperimentalCreateMintTransactionRequest, params: RequestParams = {}) => | ||
this.request<FractalSdkExperimentalCreateMintTransactionResponse, GoogleRpcStatus>({ | ||
createMintTransaction2: ( | ||
body: FractalSdkExperimentalSolanaMintCreateMintTransactionRequest, | ||
params: RequestParams = {}, | ||
) => | ||
this.request<FractalSdkExperimentalSolanaMintCreateMintTransactionResponse, GoogleRpcStatus>({ | ||
path: `/sdk/v1/mint`, | ||
@@ -1220,3 +1264,2 @@ method: "POST", | ||
secure: true, | ||
type: ContentType.Json, | ||
format: "json", | ||
@@ -1223,0 +1266,0 @@ ...params, |
{ | ||
"name": "@fractalwagmi/fractal-sdk-public-api", | ||
"version": "0.0.18", | ||
"version": "0.0.19", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "main": "dist/fractal-sdk-api.js", |
114707
2949