Skip to main content

Function: readNameMapping()

readNameMapping(aliases): Promise <NameMapping>

Read the NameMapping from an AliasesNameMap, which can support either synchronous or asynchronous read() execution. It will wrap a synchronous name mapping result, or wrap an unwrapped name mapping if asynchronous.

Parameters

aliases: AliasesNameMap

An AliasesNameMap object.

Returns

Promise <NameMapping>

A promise containing a NameMapping object.

Source

@tableland/sdk/src/helpers/config.ts:118