Memory Grant
memory.grantGrant another wallet time-bounded access to specified memory entries. Returns grant receipt; immutable consent row written. Compliance: GDPR Art. 7, 32. Cost $0.01 per call.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| entity_id | Yes | Entity whose memory the grant covers. | |
| categories | Yes | Non-empty list of categories the grantee may read. | |
| expires_at | No | Optional ISO 8601 expiry (max 730 days from now). | |
| entity_type | Yes | Entity type of the granted memory. | |
| grantee_did | No | Optional DID stored for audit alongside the grantee wallet. | |
| grantee_wallet | Yes | 0x-prefixed wallet that will be allowed to read. | |
| grantor_wallet | Yes | 0x-prefixed owner wallet issuing the grant. | |
| wallet_signature | Yes | EIP-191 signature of the grantor over the grant message. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | No | True when the tool completed without a validation error. | |
| tool | No | Tool name that produced this payload. | |
| payment | No | Settlement receipt after x402 or sandbox payment. | |
| grant_id | No | UUID of the grant. | |
| entity_id | No | Granted entity. | |
| categories | No | Granted categories. | |
| expires_at | No | Expiry timestamp, if set. | |
| granted_at | No | UTC timestamp of the grant. | |
| consent_hash | No | SHA-256 of the canonical consent payload. | |
| grantee_wallet | No | Wallet that received access. | |
| grantor_wallet | No | Issuing owner wallet. |