Get Unlock Protocol lock details
unlock_get_lockFetch a lock's on-chain public data—name, symbol, key price, expiration, max keys, and total sold—for read-only verification.
Instructions
Read an Unlock Protocol lock's public shape from the chain, read-only: name, symbol, key price/currency, expiration duration, max keys, and total keys sold.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"lockAddress": "<lockAddress>"
},
"name": "unlock_get_lock"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| network | No | Network name (defaults to "base") | base |
| lockAddress | Yes | Address of the PublicLock contract to read |