UNPKG

@bithomp/xrpl-api

Version:

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

12 lines (11 loc) 317 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.parseDelegate = parseDelegate; const common_1 = require("../../common"); function parseDelegate(tx) { if (tx && tx.Delegate) { return (0, common_1.removeUndefined)({ address: tx.Delegate, }); } }