Skip to content

Get Mapping Value

ENDPOINT
GET https://aleo-testnet3.obscura.network/v1/<API_KEY>/testnet3/program/{programID}/mapping/{mappingName}/{mappingKey}

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

Arguments

Parameter Type Required Description
programID string Yes The program id of the requested mapping
mappingName string Yes The name of the mapping to access
mappingKey string Yes The key of the key-value pair in the mapping

Response

Parameter Type Description
result object The value of the key-value pair in the mapping