Prepare CredentialCreate
credential_prepare_createPrepares an unsigned XLS-70 CredentialCreate transaction as JSON for the issuer to sign externally.
Instructions
Prepare an unsigned XLS-70 CredentialCreate transaction. The issuer signs externally; this server only prepares JSON and never custodies keys.
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": {
"issuerAccount": "<issuerAccount>",
"subject": "<subject>",
"credentialType": "<credentialType>"
},
"name": "credential_prepare_create"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| uri | No | Optional credential URI encoded as XRPL hex URI. | |
| subject | Yes | Classic XRPL subject account address. | |
| expiration | No | Optional ISO-8601 expiration time converted to Ripple epoch seconds. | |
| issuerAccount | Yes | Classic XRPL issuer account address. | |
| credentialType | Yes | Credential type as UTF-8 text. Encoded to XRPL hex and capped at 64 bytes. |