UNPKG

@bithomp/xrpl-api

Version:

A Bithomp JavaScript/TypeScript library for interacting with the XRP Ledger

9 lines (8 loc) 375 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.parseTxGlobalFlags = parseTxGlobalFlags; const global_1 = require("../../types/global"); const flags_1 = require("./flags"); function parseTxGlobalFlags(value, options = {}) { return (0, flags_1.parseFlags)(value, (0, global_1.getTxGlobalFlagsKeys)(options.nativeCurrency), options); }