import { encodeGetMaxRoyaltyPercentage, decodeGetMaxRoyaltyPercentage } from "./interface";
// Implementation
export async function getMaxRoyaltyPercentage(args) {
    const callRequest = {
        to: args.contractAddress,
        data: encodeGetMaxRoyaltyPercentage()
    };
    if (args.returnTxInfo) {
        return callRequest;
    }
    else {
        const result = await args.web3Lib.call(callRequest);
        return decodeGetMaxRoyaltyPercentage(result);
    }
}
//# sourceMappingURL=handler.js.map