Class MetaMaskIMXProvider

Hierarchy (view full)

Constructors

Methods

  • Returns Promise<void>

  • Parameters

    • message: string

    Returns Promise<string>

  • Get the Signer address

    Returns Promise<string>

    Returns a promise that resolves with the signer's address

  • Checks if a User is registered off-chain

    Returns Promise<boolean>

    Returns a promise that resolves with true if the User is registered with IMX, false otherwise

  • Register a User to Immutable X if they are not already registered

    Returns Promise<RegisterUserResponse>

    Returns a promise that resolves with the user registration response

  • Create a batch of NFT transfer requests

    Parameters

    Returns Promise<CreateTransferResponse>

    Resolves a promise that resolves with the list of Transfer IDs

  • Cancel an Order

    Parameters

    Returns Promise<CancelOrderResponse>

    Returns a promise that resolves with the cancelled Order

  • Create an Order

    Parameters

    Returns Promise<CreateOrderResponse>

    Returns a promise that resolves with the created Order

  • Create a new Exchange transaction

    Parameters

    Returns Promise<CreateTransferResponseV1>

    Returns a promise that resolves with the created Exchange Transaction

  • Checks if a User is registered on-chain

    Returns Promise<boolean>

    Returns a promise that resolves with true if the User is registered, false otherwise

  • Create a Withdrawal

    Parameters

    • request: TokenAmount

      The token type amount in its corresponding unit

    Returns Promise<CreateWithdrawalResponse>

    Returns a promise that resolves with the created Withdrawal

  • Create a new Transfer request

    Parameters

    Returns Promise<CreateTransferResponseV1>

    Returns a promise that resolves with the created Transfer