Get Mapping Value

Get the value in a key-value mapping corresponding to the supplied mappingKey.

ENDPOINT

GET https://api.data123.io/aleo/<API KEY>/v1/testnet3/program/{programID}/mapping/{mappingName}/{mappingKey}

Arguments

ParameterTypeRequestDescription

programID

string

Yes

The program id of the requested mappings

mappingName

string

Yes

The name of the mapping to access

mappingKey

string

Yes

The key of the key-value pair in the mapping

Response

ParametertypeDescription

result

The requested mapping names

Request

curl https://api.data123.io/aleo/<API KEY>/v1/testnet3/program/token.aleo/mapping/{mappingName}/{mappingKey}

Last updated