Hierarchy

Constructors

Properties

imxConfig: ImxConfiguration
assetApi: AssetsApi
balanceApi: BalancesApi
collectionApi: CollectionsApi
depositsApi: DepositsApi
encodingApi: EncodingApi
exchangeApi: ExchangesApi
metadataApi: MetadataApi
metadataRefreshesApi: MetadataRefreshesApi
mintsApi: MintsApi
nftCheckoutPrimaryApi: NftCheckoutPrimaryApi
ordersApi: OrdersApi
primarySalesApi: PrimarySalesApi
projectsApi: ProjectsApi
tokensApi: TokensApi
tradesApi: TradesApi
transfersApi: TransfersApi
usersApi: UsersApi
withdrawalsApi: WithdrawalsApi
workflows: Workflows

Methods

  • Get Stark keys for a registered User

    Parameters

    • ethAddress: string

      the eth address of the User

    Returns Promise<GetUsersApiResponse>

    a promise that resolves with the requested User

    Throws

    index.IMXError

  • Update a Collection

    Parameters

    • ethSigner: EthSigner

      the L1 signer

    • collectionAddress: string

      the Collection contract address

    • request: UpdateCollectionRequest

      the request object containing the parameters to be provided in the API request

    Returns Promise<Collection>

    a promise that resolves with the updated Collection

    Throws

    index.IMXError

  • Update metadata schema by name

    Parameters

    • ethSigner: EthSigner

      the L1 signer

    • collectionAddress: string

      the Collection contract address

    • name: string

      the Metadata schema name

    • request: MetadataSchemaRequest

      the request object containing the parameters to be provided in the API request

    Returns Promise<SuccessResponse>

    a promise that resolves with the SuccessResponse if successful

    Throws

    index.IMXError

  • Get a list of metadata refreshes

    Parameters

    • ethSigner: EthSigner

      the L1 signer

    • Optional collectionAddress: string

      the Collection contract address

    • Optional pageSize: number

      the page size of the result

    • Optional cursor: string

      the cursor

    Returns Promise<GetMetadataRefreshes>

    a promise that resolves with the requested metadata refreshes

    Throws

    index.IMXError

  • Get a list of metadata refresh errors

    Parameters

    • ethSigner: EthSigner

      the L1 signer

    • refreshId: string

      the metadata refresh ID

    • Optional pageSize: number

      the page size of the result

    • Optional cursor: string

      the cursor

    Returns Promise<GetMetadataRefreshErrorsResponse>

    a promise that resolves with the requested metadata refresh errors

    Throws

    index.IMXError

  • Get a list of metadata refresh results

    Parameters

    • ethSigner: EthSigner

      the L1 signer

    • refreshId: string

      the metadata refresh ID

    Returns Promise<GetMetadataRefreshResponse>

    a promise that resolves with the requested metadata refresh results

    Throws

    index.IMXError

  • Accept a PrimarySale

    Parameters

    • ethSigner: EthSigner

      eth signer matching the 'studio_ether_key' of the primary sale

    • primarySaleId: number

      id of the primary sale accepting

    Returns Promise<AcceptPrimarySaleResponse>

    a promise that resolves with the created Trade

    Throws

    index.IMXError

  • Reject a PrimarySale

    Parameters

    • ethSigner: EthSigner

      eth signer matching the 'studio_ether_key' of the primary sale

    • primarySaleId: number

      id of the primary sale to be rejected

    Returns Promise<RejectPrimarySaleResponse>

    a promise that resolves with the rejected PrimarySale

    Throws

    index.IMXError

Generated using TypeDoc