Prepare CredentialDelete
credential_prepare_deleteGenerate an unsigned XLS-70 CredentialDelete transaction for a specified account and credential type. Use this to delete a credential from the XRP Ledger.
Instructions
Prepare an unsigned XLS-70 CredentialDelete transaction. The submitter signs externally; this server never signs or stores 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": {
"account": "<account>",
"credentialType": "<credentialType>"
},
"name": "credential_prepare_delete"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| issuer | No | Optional issuer account; if omitted, Account may be treated as issuer by XRPL. | |
| account | Yes | Classic XRPL account submitting the delete transaction. | |
| subject | No | Optional subject account; if omitted, Account may be treated as subject by XRPL. | |
| credentialType | Yes | Credential type as UTF-8 text. Encoded to XRPL hex and capped at 64 bytes. |