Protected constructorOptional kvs: Record<string, Uint8Array>Optional seq: bigintOptional signature: Uint8ArrayOptional signatureSet the multiaddrs field on the ENR.
This field is used to store multiaddresses that cannot be stored with the current ENR pre-defined keys.
These can be a multiaddresses that include encapsulation (e.g. wss) or do not use ip4 nor ip6 for the host
address (e.g. dns4, dnsaddr, etc)..
If the peer information only contains information that can be represented with the ENR pre-defined keys (ip, tcp, etc) then the usage of setLocationMultiaddr should be preferred. The multiaddresses stored in this field must be location multiaddresses, ie, without a peer id.
Generated using TypeDoc
Get the
multiaddrsfield from ENR.This field is used to store multiaddresses that cannot be stored with the current ENR pre-defined keys. These can be a multiaddresses that include encapsulation (e.g. wss) or do not use
ip4norip6for the host address (e.g.dns4,dnsaddr, etc)..If the peer information only contains information that can be represented with the ENR pre-defined keys (ip, tcp, etc) then the usage of getLocationMultiaddr should be preferred.
The multiaddresses stored in this field are expected to be location multiaddresses, ie, peer id less.