Interface representing a MayaChain client.

interface MayachainClient {
    deposit(params): Promise<string>;
    getDepositTransaction(txId): Promise<DepositTx>;
    transferOffline(params): Promise<string>;
}

Implemented by

Methods

  • Deposit funds into the MayaChain.

    Parameters

    Returns Promise<string>

    The transaction hash of the deposit.

  • Transfer funds offline within the MayaChain.

    Parameters

    Returns Promise<string>

    The result of the offline transfer.

Generated using TypeDoc