Issue a credential to a subject (writes to the ledger)
issue_credentialCreates a credential on the XRP Ledger to authorize a subject to act; the subject must accept it before it becomes valid.
Instructions
Create a credential on the XRP Ledger, so a subject can be authorised to act. THIS WRITES TO THE LEDGER and spends XRP.
The signing seed comes from the OS keychain, which the server reads itself, so the agent never sees the seed. This tool is only available if the server was started with --allow-writes.
An optional seed argument exists for throwaway testnet use. It is refused unless the server was started with --allow-inline-seed, because a seed in the agent's context is a seed the agent can read.
The credential is created but not yet valid for the subject until the subject accepts it with accept_credential. To withdraw a credential, use revoke_credential instead. To read a credential's state without changing anything, use get_credential.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| uri | No | ||
| seed | No | ||
| network | No | ||
| subject | Yes | ||
| expiration | No | ||
| credential_type | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||