Return an entry from a map
Description
Query contract map data using the Stacks API map_entry endpoint
Use Cases
Reading user balances from token contracts
Checking NFT ownership records
Retrieving configuration values from contracts
Monitoring contract state without transactions
Key Concepts
POST request - Send the serialized map key
Hex encoding - Keys must be hex-encoded Clarity values
Response format - Returns hex-encoded Clarity value or null
Last updated
Was this helpful?