diff --git a/documentation/sdk/typescript/02_aleo_network_client.md b/documentation/sdk/typescript/02_aleo_network_client.md index 2e57e9731..bbf6b8710 100644 --- a/documentation/sdk/typescript/02_aleo_network_client.md +++ b/documentation/sdk/typescript/02_aleo_network_client.md @@ -19,7 +19,7 @@ The methods provided in this class provide information on the Aleo Blockchain

+ -### aleoNetworkClient.getMappingValue(programId, mappingName, key) +### aleoNetworkClient.getProgramMappingValue(programId, mappingName, key)

Returns the value of a program's mapping for a specific key

**Kind**: instance method of [AleoNetworkClient](#AleoNetworkClient) @@ -149,7 +149,7 @@ let mappings = connection.getProgramMappingNames("credits.aleo"); **Example** ```js ## Get public balance of an account -let mappingValue = connection.getMappingValue("credits.aleo", "account", "aleo1rhgdu77hgyqd3xjj8ucu3jj9r2krwz6mnzyd80gncr5fxcwlh5rsvzp9px"); +let mappingValue = connection.getProgramMappingValue("credits.aleo", "account", "aleo1rhgdu77hgyqd3xjj8ucu3jj9r2krwz6mnzyd80gncr5fxcwlh5rsvzp9px"); ``` @@ -261,4 +261,4 @@ let records = connection.findUnspentRecords(startHeight, undefined, privateKey, // Find specific amounts with a maximum number of cumulative microcredits const maxMicrocredits = 100000; let records = connection.findUnspentRecords(startHeight, undefined, privateKey, undefined, maxMicrocredits); -``` \ No newline at end of file +```