prepare_sponsored_reveal
Prepares an unsigned smart-account SubmissionSponsor.sponsoredReveal transaction after the sponsored commit is mined, using the commit state file and commitment ID.
Instructions
Prepare an unsigned smart-account-callable SubmissionSponsor.sponsoredReveal transaction.
Call this after the sponsored commit transaction is mined and you have its commitmentId. It uses the state file written by prepare_sponsored_commit.
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": {
"state": "<state>",
"commitmentId": "<commitmentId>"
},
"name": "prepare_sponsored_reveal"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| state | Yes | Submission state file from prepare_sponsored_commit | |
| sponsor | No | Optional SubmissionSponsor address override | |
| keystore | No | Keyless scope manifest created by init_submission_scope | .kaisign/submission-keystore.json |
| commitmentId | Yes | Commitment id emitted by the commit transaction |