UNPKG

xud

Version:
14 lines (13 loc) 532 B
import Packet, { PacketDirection, ResponseType } from '../Packet'; import PacketType from '../PacketType'; import * as pb from '../../../proto/xudp2p_pb'; declare class GetNodesPacket extends Packet<undefined> { get type(): PacketType; get direction(): PacketDirection; get responseType(): ResponseType; static deserialize: (binary: Uint8Array) => GetNodesPacket | pb.GetNodesPacket.AsObject; private static validate; private static convert; serialize: () => Uint8Array; } export default GetNodesPacket;