@medialane/sdk 0.38.0 → 0.40.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.
package/dist/index.d.ts CHANGED
@@ -260,6 +260,12 @@ interface MintParams {
260
260
  collectionId: string;
261
261
  recipient: string;
262
262
  tokenUri: string;
263
+ /**
264
+ * EIP-2981 secondary-sale royalty in basis points (0–10_000). Set once at mint;
265
+ * the receiver is the immutable creator (the minting collection owner). Required
266
+ * since MIP v0.4.0 — pass 0 for no royalty.
267
+ */
268
+ royaltyBps: number;
263
269
  /** Optional: override the collection contract from config */
264
270
  collectionContract?: string;
265
271
  }
@@ -883,6 +889,11 @@ interface CreateMintIntentParams {
883
889
  collectionId: string;
884
890
  recipient: string;
885
891
  tokenUri: string;
892
+ /**
893
+ * EIP-2981 secondary-sale royalty in basis points (0–10_000). Set once at mint;
894
+ * receiver is the immutable creator. Required since MIP v0.4.0 — pass 0 for none.
895
+ */
896
+ royaltyBps: number;
886
897
  /** Optional: override the default collection contract address */
887
898
  collectionContract?: string;
888
899
  }
@@ -1720,6 +1731,133 @@ declare class MedialaneClient {
1720
1731
  get marketplaceContract(): string;
1721
1732
  }
1722
1733
 
1734
+ declare const ADMIN_SCOPE = "admin-api";
1735
+ /** The wallet-signed authorization for a session key. */
1736
+ interface AdminGrant {
1737
+ wallet: string;
1738
+ chain: string;
1739
+ sessionPublicKey: string;
1740
+ sessionKeyHash: string;
1741
+ scope: string;
1742
+ issuedAt: number;
1743
+ expiresAt: number;
1744
+ walletSig: string[];
1745
+ }
1746
+ interface AdminSession {
1747
+ grant: AdminGrant;
1748
+ sessionPrivateKey: string;
1749
+ }
1750
+ interface AdminRequest {
1751
+ method: string;
1752
+ path: string;
1753
+ body: string;
1754
+ nonce: string;
1755
+ ts: number;
1756
+ }
1757
+ /** Compact session-key signature over adminRequestDigest. */
1758
+ type AdminRequestSig = string;
1759
+
1760
+ /**
1761
+ * Canonical felt digest of a request — the SINGLE definition shared by signer
1762
+ * (portal/agent) and verifier (backend). Binds method+path+query+body+nonce+ts,
1763
+ * so a captured request cannot be retargeted or mutated without invalidating it.
1764
+ */
1765
+ declare function adminRequestDigest(req: AdminRequest): string;
1766
+
1767
+ /** Sign a request with the session private key. */
1768
+ declare function signAdminRequest(sessionPrivateKey: string, req: AdminRequest): AdminRequestSig;
1769
+ /** Verify a request signature against the full session public key. */
1770
+ declare function verifyAdminRequestSig(sessionPublicKey: string, req: AdminRequest, sig: AdminRequestSig): boolean;
1771
+
1772
+ interface AdminSessionTypedDataInput {
1773
+ sessionKeyHash: string;
1774
+ scope: string;
1775
+ issuedAt: number;
1776
+ expiresAt: number;
1777
+ chainId?: string;
1778
+ }
1779
+ /** The SNIP-12 typed data the wallet signs — rebuilt identically on the backend. */
1780
+ declare function buildAdminSessionTypedData(p: AdminSessionTypedDataInput): {
1781
+ readonly types: {
1782
+ readonly StarknetDomain: readonly [{
1783
+ readonly name: "name";
1784
+ readonly type: "shortstring";
1785
+ }, {
1786
+ readonly name: "version";
1787
+ readonly type: "shortstring";
1788
+ }, {
1789
+ readonly name: "chainId";
1790
+ readonly type: "shortstring";
1791
+ }, {
1792
+ readonly name: "revision";
1793
+ readonly type: "shortstring";
1794
+ }];
1795
+ readonly AdminSession: readonly [{
1796
+ readonly name: "sessionKeyHash";
1797
+ readonly type: "felt";
1798
+ }, {
1799
+ readonly name: "scope";
1800
+ readonly type: "shortstring";
1801
+ }, {
1802
+ readonly name: "issuedAt";
1803
+ readonly type: "felt";
1804
+ }, {
1805
+ readonly name: "expiresAt";
1806
+ readonly type: "felt";
1807
+ }];
1808
+ };
1809
+ readonly primaryType: "AdminSession";
1810
+ readonly domain: {
1811
+ readonly name: "Medialane Admin";
1812
+ readonly version: "1";
1813
+ readonly chainId: string;
1814
+ readonly revision: "1";
1815
+ };
1816
+ readonly message: {
1817
+ readonly sessionKeyHash: string;
1818
+ readonly scope: string;
1819
+ readonly issuedAt: string;
1820
+ readonly expiresAt: string;
1821
+ };
1822
+ };
1823
+ /** felt commitment to a full session public key (fits in the signed message). */
1824
+ declare function sessionKeyHashOf(sessionPublicKey: string): string;
1825
+ interface CreateGrantOpts {
1826
+ wallet: string;
1827
+ chain?: string;
1828
+ chainId?: string;
1829
+ ttlSeconds?: number;
1830
+ now?: () => number;
1831
+ }
1832
+ /**
1833
+ * Generate an ephemeral session keypair and have `signTypedData` (the connected
1834
+ * wallet's signMessage) sign the grant. The private key never leaves the caller.
1835
+ */
1836
+ declare function createAdminSessionGrant(signTypedData: (data: ReturnType<typeof buildAdminSessionTypedData>) => Promise<string[]>, opts: CreateGrantOpts): Promise<AdminSession>;
1837
+
1838
+ declare const ADMIN_HEADERS: {
1839
+ readonly grant: "x-ml-admin-grant";
1840
+ readonly sig: "x-ml-admin-sig";
1841
+ readonly nonce: "x-ml-admin-nonce";
1842
+ readonly ts: "x-ml-admin-ts";
1843
+ };
1844
+ declare function randomNonce(): string;
1845
+ /** Build the four request headers from a session + (method, path, body). */
1846
+ declare function encodeAdminHeaders(session: AdminSession, reqInit: {
1847
+ method: string;
1848
+ path: string;
1849
+ body?: string;
1850
+ now?: () => number;
1851
+ }): Record<string, string>;
1852
+ interface ParsedAdminHeaders {
1853
+ grant: AdminGrant;
1854
+ sig: string;
1855
+ nonce: string;
1856
+ ts: number;
1857
+ }
1858
+ /** Parse + shape-check the headers on the backend. Returns null if malformed. */
1859
+ declare function parseAdminHeaders(get: (name: string) => string | null | undefined): ParsedAdminHeaders | null;
1860
+
1723
1861
  /** Medialane721 marketplace venue — immutable, ownerless (redesign, deployed 2026-05-31). */
1724
1862
  declare const MARKETPLACE_721_CONTRACT_MAINNET: string;
1725
1863
  /** Class hash of the Medialane721 venue. */
@@ -4097,7 +4235,7 @@ declare const IPCollectionABI: readonly [{
4097
4235
  readonly name: "total_archived";
4098
4236
  readonly type: "core::integer::u256";
4099
4237
  }, {
4100
- readonly name: "total_transfers";
4238
+ readonly name: "protocol_routed_transfers";
4101
4239
  readonly type: "core::integer::u256";
4102
4240
  }, {
4103
4241
  readonly name: "last_mint_time";
@@ -4163,6 +4301,9 @@ declare const IPCollectionABI: readonly [{
4163
4301
  }, {
4164
4302
  readonly name: "token_uri";
4165
4303
  readonly type: "core::byte_array::ByteArray";
4304
+ }, {
4305
+ readonly name: "royalty_bps";
4306
+ readonly type: "core::integer::u128";
4166
4307
  }];
4167
4308
  readonly outputs: readonly [{
4168
4309
  readonly type: "core::integer::u256";
@@ -4180,6 +4321,9 @@ declare const IPCollectionABI: readonly [{
4180
4321
  }, {
4181
4322
  readonly name: "token_uris";
4182
4323
  readonly type: "core::array::Array::<core::byte_array::ByteArray>";
4324
+ }, {
4325
+ readonly name: "royalty_bps";
4326
+ readonly type: "core::array::Array::<core::integer::u128>";
4183
4327
  }];
4184
4328
  readonly outputs: readonly [{
4185
4329
  readonly type: "core::array::Span::<core::integer::u256>";
@@ -4201,8 +4345,11 @@ declare const IPCollectionABI: readonly [{
4201
4345
  readonly type: "function";
4202
4346
  readonly name: "archive";
4203
4347
  readonly inputs: readonly [{
4204
- readonly name: "token";
4205
- readonly type: "core::byte_array::ByteArray";
4348
+ readonly name: "collection_id";
4349
+ readonly type: "core::integer::u256";
4350
+ }, {
4351
+ readonly name: "token_id";
4352
+ readonly type: "core::integer::u256";
4206
4353
  }];
4207
4354
  readonly outputs: readonly [];
4208
4355
  readonly state_mutability: "external";
@@ -4210,8 +4357,11 @@ declare const IPCollectionABI: readonly [{
4210
4357
  readonly type: "function";
4211
4358
  readonly name: "batch_archive";
4212
4359
  readonly inputs: readonly [{
4213
- readonly name: "tokens";
4214
- readonly type: "core::array::Array::<core::byte_array::ByteArray>";
4360
+ readonly name: "collection_ids";
4361
+ readonly type: "core::array::Array::<core::integer::u256>";
4362
+ }, {
4363
+ readonly name: "token_ids";
4364
+ readonly type: "core::array::Array::<core::integer::u256>";
4215
4365
  }];
4216
4366
  readonly outputs: readonly [];
4217
4367
  readonly state_mutability: "external";
@@ -4219,14 +4369,14 @@ declare const IPCollectionABI: readonly [{
4219
4369
  readonly type: "function";
4220
4370
  readonly name: "transfer_token";
4221
4371
  readonly inputs: readonly [{
4222
- readonly name: "from";
4223
- readonly type: "core::starknet::contract_address::ContractAddress";
4224
- }, {
4225
4372
  readonly name: "to";
4226
4373
  readonly type: "core::starknet::contract_address::ContractAddress";
4227
4374
  }, {
4228
- readonly name: "token";
4229
- readonly type: "core::byte_array::ByteArray";
4375
+ readonly name: "collection_id";
4376
+ readonly type: "core::integer::u256";
4377
+ }, {
4378
+ readonly name: "token_id";
4379
+ readonly type: "core::integer::u256";
4230
4380
  }];
4231
4381
  readonly outputs: readonly [];
4232
4382
  readonly state_mutability: "external";
@@ -4240,8 +4390,11 @@ declare const IPCollectionABI: readonly [{
4240
4390
  readonly name: "to";
4241
4391
  readonly type: "core::starknet::contract_address::ContractAddress";
4242
4392
  }, {
4243
- readonly name: "tokens";
4244
- readonly type: "core::array::Array::<core::byte_array::ByteArray>";
4393
+ readonly name: "collection_ids";
4394
+ readonly type: "core::array::Array::<core::integer::u256>";
4395
+ }, {
4396
+ readonly name: "token_ids";
4397
+ readonly type: "core::array::Array::<core::integer::u256>";
4245
4398
  }];
4246
4399
  readonly outputs: readonly [];
4247
4400
  readonly state_mutability: "external";
@@ -4289,6 +4442,14 @@ declare const IPCollectionABI: readonly [{
4289
4442
  readonly type: "core::integer::u256";
4290
4443
  }];
4291
4444
  readonly state_mutability: "view";
4445
+ }, {
4446
+ readonly type: "function";
4447
+ readonly name: "version";
4448
+ readonly inputs: readonly [];
4449
+ readonly outputs: readonly [{
4450
+ readonly type: "core::byte_array::ByteArray";
4451
+ }];
4452
+ readonly state_mutability: "view";
4292
4453
  }, {
4293
4454
  readonly type: "function";
4294
4455
  readonly name: "is_valid_collection";
@@ -4329,8 +4490,11 @@ declare const IPCollectionABI: readonly [{
4329
4490
  readonly type: "function";
4330
4491
  readonly name: "get_token";
4331
4492
  readonly inputs: readonly [{
4332
- readonly name: "token";
4333
- readonly type: "core::byte_array::ByteArray";
4493
+ readonly name: "collection_id";
4494
+ readonly type: "core::integer::u256";
4495
+ }, {
4496
+ readonly name: "token_id";
4497
+ readonly type: "core::integer::u256";
4334
4498
  }];
4335
4499
  readonly outputs: readonly [{
4336
4500
  readonly type: "ip_collection_erc_721::types::TokenData";
@@ -4340,8 +4504,11 @@ declare const IPCollectionABI: readonly [{
4340
4504
  readonly type: "function";
4341
4505
  readonly name: "is_valid_token";
4342
4506
  readonly inputs: readonly [{
4343
- readonly name: "token";
4344
- readonly type: "core::byte_array::ByteArray";
4507
+ readonly name: "collection_id";
4508
+ readonly type: "core::integer::u256";
4509
+ }, {
4510
+ readonly name: "token_id";
4511
+ readonly type: "core::integer::u256";
4345
4512
  }];
4346
4513
  readonly outputs: readonly [{
4347
4514
  readonly type: "core::bool";
@@ -4351,8 +4518,11 @@ declare const IPCollectionABI: readonly [{
4351
4518
  readonly type: "function";
4352
4519
  readonly name: "is_transferable_token";
4353
4520
  readonly inputs: readonly [{
4354
- readonly name: "token";
4355
- readonly type: "core::byte_array::ByteArray";
4521
+ readonly name: "collection_id";
4522
+ readonly type: "core::integer::u256";
4523
+ }, {
4524
+ readonly name: "token_id";
4525
+ readonly type: "core::integer::u256";
4356
4526
  }];
4357
4527
  readonly outputs: readonly [{
4358
4528
  readonly type: "core::bool";
@@ -4432,6 +4602,10 @@ declare const IPCollectionABI: readonly [{
4432
4602
  readonly name: "metadata_uri";
4433
4603
  readonly type: "core::byte_array::ByteArray";
4434
4604
  readonly kind: "data";
4605
+ }, {
4606
+ readonly name: "royalty_bps";
4607
+ readonly type: "core::integer::u128";
4608
+ readonly kind: "data";
4435
4609
  }];
4436
4610
  }, {
4437
4611
  readonly type: "event";
@@ -4449,6 +4623,10 @@ declare const IPCollectionABI: readonly [{
4449
4623
  readonly name: "owners";
4450
4624
  readonly type: "core::array::Array::<core::starknet::contract_address::ContractAddress>";
4451
4625
  readonly kind: "data";
4626
+ }, {
4627
+ readonly name: "metadata_uris";
4628
+ readonly type: "core::array::Array::<core::byte_array::ByteArray>";
4629
+ readonly kind: "data";
4452
4630
  }, {
4453
4631
  readonly name: "operator";
4454
4632
  readonly type: "core::starknet::contract_address::ContractAddress";
@@ -4484,8 +4662,12 @@ declare const IPCollectionABI: readonly [{
4484
4662
  readonly name: "ip_collection_erc_721::IPCollection::IPCollection::TokenArchivedBatch";
4485
4663
  readonly kind: "struct";
4486
4664
  readonly members: readonly [{
4487
- readonly name: "tokens";
4488
- readonly type: "core::array::Array::<core::byte_array::ByteArray>";
4665
+ readonly name: "collection_ids";
4666
+ readonly type: "core::array::Span::<core::integer::u256>";
4667
+ readonly kind: "data";
4668
+ }, {
4669
+ readonly name: "token_ids";
4670
+ readonly type: "core::array::Span::<core::integer::u256>";
4489
4671
  readonly kind: "data";
4490
4672
  }, {
4491
4673
  readonly name: "operator";
@@ -4538,8 +4720,12 @@ declare const IPCollectionABI: readonly [{
4538
4720
  readonly type: "core::starknet::contract_address::ContractAddress";
4539
4721
  readonly kind: "data";
4540
4722
  }, {
4541
- readonly name: "tokens";
4542
- readonly type: "core::array::Array::<core::byte_array::ByteArray>";
4723
+ readonly name: "collection_ids";
4724
+ readonly type: "core::array::Span::<core::integer::u256>";
4725
+ readonly kind: "data";
4726
+ }, {
4727
+ readonly name: "token_ids";
4728
+ readonly type: "core::array::Span::<core::integer::u256>";
4543
4729
  readonly kind: "data";
4544
4730
  }, {
4545
4731
  readonly name: "operator";
@@ -4705,6 +4891,9 @@ declare const IPNftABI: readonly [{
4705
4891
  }, {
4706
4892
  readonly name: "creator";
4707
4893
  readonly type: "core::starknet::contract_address::ContractAddress";
4894
+ }, {
4895
+ readonly name: "royalty_bps";
4896
+ readonly type: "core::integer::u128";
4708
4897
  }];
4709
4898
  readonly outputs: readonly [];
4710
4899
  readonly state_mutability: "external";
@@ -4744,6 +4933,14 @@ declare const IPNftABI: readonly [{
4744
4933
  readonly type: "core::starknet::contract_address::ContractAddress";
4745
4934
  }];
4746
4935
  readonly state_mutability: "view";
4936
+ }, {
4937
+ readonly type: "function";
4938
+ readonly name: "version";
4939
+ readonly inputs: readonly [];
4940
+ readonly outputs: readonly [{
4941
+ readonly type: "core::byte_array::ByteArray";
4942
+ }];
4943
+ readonly state_mutability: "view";
4747
4944
  }, {
4748
4945
  readonly type: "function";
4749
4946
  readonly name: "base_uri";
@@ -5087,6 +5284,55 @@ declare const IPNftABI: readonly [{
5087
5284
  }];
5088
5285
  readonly state_mutability: "view";
5089
5286
  }];
5287
+ }, {
5288
+ readonly type: "impl";
5289
+ readonly name: "ERC2981Impl";
5290
+ readonly interface_name: "openzeppelin_token::common::erc2981::interface::IERC2981";
5291
+ }, {
5292
+ readonly type: "interface";
5293
+ readonly name: "openzeppelin_token::common::erc2981::interface::IERC2981";
5294
+ readonly items: readonly [{
5295
+ readonly type: "function";
5296
+ readonly name: "royalty_info";
5297
+ readonly inputs: readonly [{
5298
+ readonly name: "token_id";
5299
+ readonly type: "core::integer::u256";
5300
+ }, {
5301
+ readonly name: "sale_price";
5302
+ readonly type: "core::integer::u256";
5303
+ }];
5304
+ readonly outputs: readonly [{
5305
+ readonly type: "(core::starknet::contract_address::ContractAddress, core::integer::u256)";
5306
+ }];
5307
+ readonly state_mutability: "view";
5308
+ }];
5309
+ }, {
5310
+ readonly type: "impl";
5311
+ readonly name: "ERC2981InfoImpl";
5312
+ readonly interface_name: "openzeppelin_token::common::erc2981::interface::IERC2981Info";
5313
+ }, {
5314
+ readonly type: "interface";
5315
+ readonly name: "openzeppelin_token::common::erc2981::interface::IERC2981Info";
5316
+ readonly items: readonly [{
5317
+ readonly type: "function";
5318
+ readonly name: "default_royalty";
5319
+ readonly inputs: readonly [];
5320
+ readonly outputs: readonly [{
5321
+ readonly type: "(core::starknet::contract_address::ContractAddress, core::integer::u128, core::integer::u128)";
5322
+ }];
5323
+ readonly state_mutability: "view";
5324
+ }, {
5325
+ readonly type: "function";
5326
+ readonly name: "token_royalty";
5327
+ readonly inputs: readonly [{
5328
+ readonly name: "token_id";
5329
+ readonly type: "core::integer::u256";
5330
+ }];
5331
+ readonly outputs: readonly [{
5332
+ readonly type: "(core::starknet::contract_address::ContractAddress, core::integer::u128, core::integer::u128)";
5333
+ }];
5334
+ readonly state_mutability: "view";
5335
+ }];
5090
5336
  }, {
5091
5337
  readonly type: "constructor";
5092
5338
  readonly name: "constructor";
@@ -5184,6 +5430,11 @@ declare const IPNftABI: readonly [{
5184
5430
  readonly name: "openzeppelin_token::erc721::extensions::erc721_enumerable::erc721_enumerable::ERC721EnumerableComponent::Event";
5185
5431
  readonly kind: "enum";
5186
5432
  readonly variants: readonly [];
5433
+ }, {
5434
+ readonly type: "event";
5435
+ readonly name: "openzeppelin_token::common::erc2981::erc2981::ERC2981Component::Event";
5436
+ readonly kind: "enum";
5437
+ readonly variants: readonly [];
5187
5438
  }, {
5188
5439
  readonly type: "event";
5189
5440
  readonly name: "ip_collection_erc_721::IPNft::IPNft::Event";
@@ -5200,6 +5451,10 @@ declare const IPNftABI: readonly [{
5200
5451
  readonly name: "ERC721EnumerableEvent";
5201
5452
  readonly type: "openzeppelin_token::erc721::extensions::erc721_enumerable::erc721_enumerable::ERC721EnumerableComponent::Event";
5202
5453
  readonly kind: "flat";
5454
+ }, {
5455
+ readonly name: "ERC2981Event";
5456
+ readonly type: "openzeppelin_token::common::erc2981::erc2981::ERC2981Component::Event";
5457
+ readonly kind: "flat";
5203
5458
  }];
5204
5459
  }];
5205
5460
 
@@ -5982,4 +6237,4 @@ declare function build1155OrderTypedData(message: Record<string, unknown>, chain
5982
6237
  declare function buildCancellationTypedData(message: Record<string, unknown>, chainId: constants.StarknetChainId | string): TypedData;
5983
6238
  declare function build1155CancellationTypedData(message: Record<string, unknown>, chainId: constants.StarknetChainId | string): TypedData;
5984
6239
 
5985
- export { type ActivityType, type AddSupplyParams, type ApiActivitiesQuery, type ApiActivity, type ApiActivityPrice, type ApiAdminCollectionClaim, type ApiAppSource, type ApiChain, ApiClient, type ApiCoin, type ApiCoinsQuery, type ApiCollection, type ApiCollectionClaim, type ApiCollectionProfile, type ApiCollectionSlugClaim, type ApiCollectionsQuery, type ApiComment, type ApiCounterOffersQuery, type ApiCreatorListResult, type ApiCreatorProfile, type ApiIntent, type ApiIntentCreated, type ApiKeyStatus, type ApiMeta, type ApiMetadataSignedUrl, type ApiMetadataUpload, type ApiOrder, type ApiOrderConsideration, type ApiOrderOffer, type ApiOrderPrice, type ApiOrderTokenMeta, type ApiOrderTxHash, type ApiOrdersQuery, type ApiPortalKey, type ApiPortalKeyCreated, type ApiPortalMe, type ApiPublicRemix, type ApiRemixOffer, type ApiRemixOfferPrice, type ApiRemixOffersQuery, type ApiResponse, type ApiSearchCollectionResult, type ApiSearchCreatorResult, type ApiSearchResult, type ApiSearchTokenResult, type ApiToken, type ApiTokenBalance, type ApiTokenMetadata, type ApiUsageDay, type ApiUserWallet, type ApiWalletType, type ApiWebhookCreated, type ApiWebhookEndpoint, type AutoRemixOfferParams, type BatchMintEditionParams, type BuildFeeCallParams, CHAINS, MAX_SUPPLY as COIN_MAX_SUPPLY, MIN_SUPPLY as COIN_MIN_SUPPLY, COLLECTION_1155_CLASS_HASH_MAINNET, COLLECTION_1155_CONTRACT_MAINNET, COLLECTION_1155_FACTORY_CLASS_HASH_MAINNET, COLLECTION_1155_START_BLOCK_MAINNET, COLLECTION_721_CONTRACT_MAINNET, COLLECTION_721_START_BLOCK_MAINNET, CREATOR_COIN_CLASS_HASH_MAINNET, CREATOR_COIN_EKUBO_LAUNCHER_MAINNET, CREATOR_COIN_FACTORY_CLASS_HASH_MAINNET, CREATOR_COIN_FACTORY_CONTRACT_MAINNET, CREATOR_COIN_START_BLOCK_MAINNET, type CancelOrder1155Params, type CancelOrderIntentParams, type CancelOrderParams, type Cancelation, type CartItem, type Chain, type ChainCoordinates, type ClaimConditions, CollectionRegistryABI, type CollectionSort, type ConfirmRemixOfferParams, type ConfirmSelfRemixParams, type ConsiderationItem, type CreateCollectionIntentParams, type CreateCollectionParams, type CreateCounterOfferIntentParams, type CreateCreatorCoinParams, type CreateDropParams, type CreateListing1155Params, type CreateListingIntentParams, type CreateListingParams, type CreateMintIntentParams, type CreatePopCollectionParams, type CreateRemixOfferParams, type CreateWebhookParams, CreatorCoinFactoryABI, type CreatorCoinPrice, type CreatorCoinReceiptLike, CreatorCoinService, DEFAULT_CHAIN, DROP_COLLECTION_CLASS_HASH_MAINNET, DROP_FACTORY_CONTRACT_MAINNET, type DeployCollectionParams, DropCollectionABI, DropFactoryABI, type DropMintStatus, DropService, EKUBO_CORE_MAINNET, ERC1155CollectionService, type EkuboLaunchParams, type EkuboPoolParams, type EnforcementDeclaration, type FailoverFetchOptions, type FeeConfig, FeeConfigSchema, type FeeSurface, type FulfillOrder1155Params, type FulfillOrderIntentParams, type FulfillOrderParams, IPCOLLECTION_CLASS_HASH_MAINNET, IPCollection1155ABI, IPCollection1155FactoryABI, IPCollectionABI, IPMarketplaceABI, IPNFT_CLASS_HASH_MAINNET, IPNftABI, type IPType, type IntentCall, type IntentStatus, type IntentType, type IpAttribute, type IpNftMetadata, LAUNCH_PRICE_QUOTE_PER_COIN, MARKETPLACE_1155_CLASS_HASH_MAINNET, MARKETPLACE_1155_CONTRACT_MAINNET, MARKETPLACE_1155_START_BLOCK_MAINNET, MARKETPLACE_721_CLASS_HASH_MAINNET, MARKETPLACE_721_CONTRACT_MAINNET, MARKETPLACE_721_START_BLOCK_MAINNET, type MakeOffer1155Params, type MakeOfferIntentParams, type MakeOfferParams, MarketplaceModule, Medialane1155ABI, Medialane1155Module, MedialaneApiError, MedialaneClient, type MedialaneConfig, MedialaneError, type MedialaneErrorCode, type MintEditionParams, type MintParams, NFTCOMMENTS_CONTRACT_MAINNET, OPEN_LICENSES, type OfferItem, type OpenLicense, type Order, type OrderDetails, type OrderParameters, type OrderStatus, POPCollectionABI, POPFactoryABI, POP_COLLECTION_CLASS_HASH_MAINNET, POP_FACTORY_CONTRACT_MAINNET, PUBLIC_RPC_FALLBACKS, type PopBatchEligibilityItem, type PopClaimStatus, type PopEventType, PopService, type RemixOfferStatus, type ResolvedConfig, type ResolvedFeeConfig, type RetryOptions, SUPPORTED_TOKENS, type ServiceCapability, type ServiceDefinition, type ServiceEventDeclaration, type ServiceId, type SortOrder, type SupportedToken, type SupportedTokenSymbol, type TenantPlan, type TxResult, VALIDATED_EKUBO_PARAMS, type WebhookEventType, type WebhookStatus, build1155CancellationTypedData, build1155OrderTypedData, buildCancellationTypedData, buildCreateCreatorCoinCall, buildFeeCall, buildLaunchOnEkuboCalls, buildOrderTypedData, buybackQuoteRaw, toRaw as coinToRaw, createFailoverFetch, encodeByteArray, fdvHuman, formatAmount, getCoordinates, getCreatorCoinPrice, getListableTokens, getService, getServicesByCapability, getTokenByAddress, getTokenBySymbol, isServiceId, isTransientRpcError, listServices, normalizeAddress, normalizeHash, parseAmount, parseCreatorCoinCreated, resolveConfig, resolveFeeConfig, shortenAddress, stringifyBigInts, teamCoinsRaw, u256ToBigInt, validateName as validateCoinName, validateSupply as validateCoinSupply, validateSymbol as validateCoinSymbol };
6240
+ export { ADMIN_HEADERS, ADMIN_SCOPE, type ActivityType, type AddSupplyParams, type AdminGrant, type AdminRequest, type AdminRequestSig, type AdminSession, type AdminSessionTypedDataInput, type ApiActivitiesQuery, type ApiActivity, type ApiActivityPrice, type ApiAdminCollectionClaim, type ApiAppSource, type ApiChain, ApiClient, type ApiCoin, type ApiCoinsQuery, type ApiCollection, type ApiCollectionClaim, type ApiCollectionProfile, type ApiCollectionSlugClaim, type ApiCollectionsQuery, type ApiComment, type ApiCounterOffersQuery, type ApiCreatorListResult, type ApiCreatorProfile, type ApiIntent, type ApiIntentCreated, type ApiKeyStatus, type ApiMeta, type ApiMetadataSignedUrl, type ApiMetadataUpload, type ApiOrder, type ApiOrderConsideration, type ApiOrderOffer, type ApiOrderPrice, type ApiOrderTokenMeta, type ApiOrderTxHash, type ApiOrdersQuery, type ApiPortalKey, type ApiPortalKeyCreated, type ApiPortalMe, type ApiPublicRemix, type ApiRemixOffer, type ApiRemixOfferPrice, type ApiRemixOffersQuery, type ApiResponse, type ApiSearchCollectionResult, type ApiSearchCreatorResult, type ApiSearchResult, type ApiSearchTokenResult, type ApiToken, type ApiTokenBalance, type ApiTokenMetadata, type ApiUsageDay, type ApiUserWallet, type ApiWalletType, type ApiWebhookCreated, type ApiWebhookEndpoint, type AutoRemixOfferParams, type BatchMintEditionParams, type BuildFeeCallParams, CHAINS, MAX_SUPPLY as COIN_MAX_SUPPLY, MIN_SUPPLY as COIN_MIN_SUPPLY, COLLECTION_1155_CLASS_HASH_MAINNET, COLLECTION_1155_CONTRACT_MAINNET, COLLECTION_1155_FACTORY_CLASS_HASH_MAINNET, COLLECTION_1155_START_BLOCK_MAINNET, COLLECTION_721_CONTRACT_MAINNET, COLLECTION_721_START_BLOCK_MAINNET, CREATOR_COIN_CLASS_HASH_MAINNET, CREATOR_COIN_EKUBO_LAUNCHER_MAINNET, CREATOR_COIN_FACTORY_CLASS_HASH_MAINNET, CREATOR_COIN_FACTORY_CONTRACT_MAINNET, CREATOR_COIN_START_BLOCK_MAINNET, type CancelOrder1155Params, type CancelOrderIntentParams, type CancelOrderParams, type Cancelation, type CartItem, type Chain, type ChainCoordinates, type ClaimConditions, CollectionRegistryABI, type CollectionSort, type ConfirmRemixOfferParams, type ConfirmSelfRemixParams, type ConsiderationItem, type CreateCollectionIntentParams, type CreateCollectionParams, type CreateCounterOfferIntentParams, type CreateCreatorCoinParams, type CreateDropParams, type CreateGrantOpts, type CreateListing1155Params, type CreateListingIntentParams, type CreateListingParams, type CreateMintIntentParams, type CreatePopCollectionParams, type CreateRemixOfferParams, type CreateWebhookParams, CreatorCoinFactoryABI, type CreatorCoinPrice, type CreatorCoinReceiptLike, CreatorCoinService, DEFAULT_CHAIN, DROP_COLLECTION_CLASS_HASH_MAINNET, DROP_FACTORY_CONTRACT_MAINNET, type DeployCollectionParams, DropCollectionABI, DropFactoryABI, type DropMintStatus, DropService, EKUBO_CORE_MAINNET, ERC1155CollectionService, type EkuboLaunchParams, type EkuboPoolParams, type EnforcementDeclaration, type FailoverFetchOptions, type FeeConfig, FeeConfigSchema, type FeeSurface, type FulfillOrder1155Params, type FulfillOrderIntentParams, type FulfillOrderParams, IPCOLLECTION_CLASS_HASH_MAINNET, IPCollection1155ABI, IPCollection1155FactoryABI, IPCollectionABI, IPMarketplaceABI, IPNFT_CLASS_HASH_MAINNET, IPNftABI, type IPType, type IntentCall, type IntentStatus, type IntentType, type IpAttribute, type IpNftMetadata, LAUNCH_PRICE_QUOTE_PER_COIN, MARKETPLACE_1155_CLASS_HASH_MAINNET, MARKETPLACE_1155_CONTRACT_MAINNET, MARKETPLACE_1155_START_BLOCK_MAINNET, MARKETPLACE_721_CLASS_HASH_MAINNET, MARKETPLACE_721_CONTRACT_MAINNET, MARKETPLACE_721_START_BLOCK_MAINNET, type MakeOffer1155Params, type MakeOfferIntentParams, type MakeOfferParams, MarketplaceModule, Medialane1155ABI, Medialane1155Module, MedialaneApiError, MedialaneClient, type MedialaneConfig, MedialaneError, type MedialaneErrorCode, type MintEditionParams, type MintParams, NFTCOMMENTS_CONTRACT_MAINNET, OPEN_LICENSES, type OfferItem, type OpenLicense, type Order, type OrderDetails, type OrderParameters, type OrderStatus, POPCollectionABI, POPFactoryABI, POP_COLLECTION_CLASS_HASH_MAINNET, POP_FACTORY_CONTRACT_MAINNET, PUBLIC_RPC_FALLBACKS, type ParsedAdminHeaders, type PopBatchEligibilityItem, type PopClaimStatus, type PopEventType, PopService, type RemixOfferStatus, type ResolvedConfig, type ResolvedFeeConfig, type RetryOptions, SUPPORTED_TOKENS, type ServiceCapability, type ServiceDefinition, type ServiceEventDeclaration, type ServiceId, type SortOrder, type SupportedToken, type SupportedTokenSymbol, type TenantPlan, type TxResult, VALIDATED_EKUBO_PARAMS, type WebhookEventType, type WebhookStatus, adminRequestDigest, build1155CancellationTypedData, build1155OrderTypedData, buildAdminSessionTypedData, buildCancellationTypedData, buildCreateCreatorCoinCall, buildFeeCall, buildLaunchOnEkuboCalls, buildOrderTypedData, buybackQuoteRaw, toRaw as coinToRaw, createAdminSessionGrant, createFailoverFetch, encodeAdminHeaders, encodeByteArray, fdvHuman, formatAmount, getCoordinates, getCreatorCoinPrice, getListableTokens, getService, getServicesByCapability, getTokenByAddress, getTokenBySymbol, isServiceId, isTransientRpcError, listServices, normalizeAddress, normalizeHash, parseAdminHeaders, parseAmount, parseCreatorCoinCreated, randomNonce, resolveConfig, resolveFeeConfig, sessionKeyHashOf, shortenAddress, signAdminRequest, stringifyBigInts, teamCoinsRaw, u256ToBigInt, validateName as validateCoinName, validateSupply as validateCoinSupply, validateSymbol as validateCoinSymbol, verifyAdminRequestSig };