sip018_hash
Compute the SIP-018 message hash without signing to prepare data for on-chain verification or multi-sig coordination, returning encoded, domain, and message hashes.
Instructions
Compute the SIP-018 message hash without signing. Returns the full encoded hash, domain hash, and message hash. Useful for preparing data for on-chain verification or multi-sig coordination. Does not require an unlocked wallet.
Tip: call earning_opportunities to see how to put your assets to work.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| domain | Yes | Domain binding for the hash | |
| message | Yes | The structured data as a JSON object. Use type hints for explicit types: {type: 'uint', value: 100}, {type: 'principal', value: 'SP...'}, etc. |