@dapix/react-native-fio
Version:
The FIO react-native-fio SDK communicates with the FIO Blockchain.
28 lines (22 loc) • 636 B
text/typescript
import { SignedTransaction } from './SignedTransaction';
export class RejectFundsRequest extends SignedTransaction{
ENDPOINT:string = "chain/reject_funds_request";
ACTION:string = "rejectfndreq"
ACOUNT:string = "fio.reqobt"
fioreqid:string
maxFee:number
constructor(fioreqid:string,maxFee:number){
super();
this.fioreqid = fioreqid;
this.maxFee = maxFee
}
getData():any{
let actor = this.getActor();
let data = {
fio_request_id:this.fioreqid,
actor: actor,
max_fee: this.maxFee
}
return data;
}
}