mto-custom-backend-driver
v0.0.17
Published
HMP SDK-2 allow merchants to manipulate MTO products, orders, blockchain and disputes.
Downloads
15
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
"appSecret",//appSecret
"0x"//privateKey
);
await disputeDriver.init();
const result:Dispute[] = await disputeDriver.getDisputes(filters:IDisputeFilterQuery);
})