create-schema
Create a new attestation schema on Rootstock network. Define data fields, set revocability, and choose testnet or mainnet.
Instructions
Create a new attestation schema on Rootstock network
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": {
"testnet": "<testnet>",
"schema": "<schema>",
"revocable": "<revocable>"
},
"name": "create-schema"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| schema | Yes | Schema definition string (e.g., 'uint256 tokenId, string name') | |
| testnet | Yes | Use testnet (true) or mainnet (false) | |
| revocable | Yes | Whether attestations using this schema can be revoked | |
| walletData | No | Your previously saved wallet configuration file content (my-wallets.json) | |
| walletName | No | Specific wallet name to use - uses current wallet if not provided | |
| walletPassword | No | Password to decrypt the wallet - required when using walletData | |
| resolverAddress | No | Resolver contract address (0x... format) - uses zero address if not provided |