Prepare CredentialAccept
credential_prepare_acceptPrepare an unsigned XLS-70 CredentialAccept transaction for a subject to accept a credential. Specify the account, issuer address, and credential type to generate the transaction for external signing.
Instructions
Prepare an unsigned XLS-70 CredentialAccept transaction for a subject to accept an issued credential. Signing happens outside this server.
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>",
"issuer": "<issuer>",
"credentialType": "<credentialType>"
},
"name": "credential_prepare_accept"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| issuer | Yes | Classic XRPL issuer account address. | |
| account | Yes | Classic XRPL subject account accepting the credential. | |
| credentialType | Yes | Credential type as UTF-8 text. Encoded to XRPL hex and capped at 64 bytes. |