Was this page helpful?
MappingAddressTranslator¶
policies/addressResolution~MappingAddressTranslator(mapping)
Address translator that creates a fixed mapping between the addresses sent by the database into locally queryable addresses.
Constructor¶
new MappingAddressTranslator(mapping)
Parameters:
| Name | Type | Description |
|---|---|---|
mapping |
Map of addresses to be translated. If an address is present as a key in the map, it will be translated to the value present under that key in the map. Otherwise, the address will remain unchanged. |