Skip to main content

Get Mapping Value

ENDPOINT
GET /testnet/program/{programID}/mapping/{mappingName}/{mappingKey}

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

Arguments

ParameterTypeRequiredDescription
programIDstringYesThe program id of the requested mapping
mappingNamestringYesThe name of the mapping to access
mappingKeystringYesThe key of the key-value pair in the mapping

Response

ParameterTypeDescription
resultobjectThe value of the key-value pair in the mapping