prepare_direct_commit
Prepares an unsigned direct registry commit transaction after verifying the scoped address has the required bond token and gas; otherwise directs callers to the sponsored path.
Instructions
Prepare an unsigned direct registry commitSpec transaction only if the scoped address has the permissioned bond token.
This tool first checks get_submission_scope_status internally. If the address lacks Sepolia gas or minBond of the permissioned bond token, it refuses and tells the caller to use the sponsored smart-account/default path. The EIP-4844 blob still must be posted by an EOA/backend; pass blobHash when already posted.
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": {
"metadata": "<metadata>"
},
"name": "prepare_direct_commit"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| output | No | Optional output path for the submission state file | |
| blobHash | No | Optional already-posted EIP-4844 versioned blob hash | |
| keystore | No | Keyless scope manifest created by init_submission_scope | .kaisign/submission-keystore.json |
| metadata | Yes | Path to the local ERC-7730 metadata JSON file | |
| targetAddress | No | Optional target deployment address when metadata has multiple deployments |