Prepare DIDSet
did_prepare_setPrepares an unsigned XLS-40 DIDSet transaction for the XRP Ledger. Provide an account address and optional DID document, URI, or data to set a decentralized identifier.
Instructions
Prepare an unsigned XLS-40 DIDSet transaction. This server does not sign or custody keys; sign externally and verify the signed blob before submission.
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>"
},
"name": "did_prepare_set"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| uri | No | Optional DID document URI. UTF-8 encoded to XRPL hex URI. | |
| data | No | Optional DID data. UTF-8 encoded to XRPL hex Data. | |
| account | Yes | Classic XRPL account address setting the DID. | |
| didDocument | No | Optional DID document JSON/string payload. UTF-8 encoded to XRPL hex DIDDocument. |