mto-metamask-backend-driver
v0.0.17
Published
HMP SDK-2 allow merchants to manipulate MTO products, orders, blockchain and disputes.
Downloads
4
Readme
HMP SDK
HMP SDK-2 allow merchants to manipulate MTO products, orders, blockchain and disputes.
import { DisputeDriver } from "mto-backend-driver";
import { Dispute, IDisputeFilterQuery } from "mto-backend-types/src";
let disputeDriver: DisputeDriver = new DisputeDriver({
appkey: "appkey",//appKey
appSecret: "appSecret",//appSecret
privateKey: "0x"//privateKey
});
await disputeDriver.init();
const result:Dispute[] = await disputeDriver.getDisputes(filters:IDisputeFilterQuery);
})