@dapix/react-native-fio
Version:
The FIO react-native-fio SDK communicates with the FIO Blockchain.
24 lines (23 loc) • 726 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
const SignedTransaction_1 = require("./SignedTransaction");
class RejectFundsRequest extends SignedTransaction_1.SignedTransaction {
constructor(fioreqid, maxFee) {
super();
this.ENDPOINT = "chain/reject_funds_request";
this.ACTION = "rejectfndreq";
this.ACOUNT = "fio.reqobt";
this.fioreqid = fioreqid;
this.maxFee = maxFee;
}
getData() {
let actor = this.getActor();
let data = {
fio_request_id: this.fioreqid,
actor: actor,
max_fee: this.maxFee
};
return data;
}
}
exports.RejectFundsRequest = RejectFundsRequest;