Accept a credential issued to this account (writes to the ledger)
accept_credentialSigns and accepts a credential issued to this account, making it valid for the subject on the XRP Ledger. This submits the CredentialAccept transaction and spends XRP.
Instructions
Accept a credential that was issued to this account, making it valid for the subject. THIS WRITES TO THE LEDGER and spends XRP.
A credential created with issue_credential is not valid for the subject until the subject signs it. This tool is the subject's side of that: it submits the CredentialAccept.
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.
To read a credential's state without changing anything, use get_credential. To withdraw a credential, use revoke_credential.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| seed | No | ||
| issuer | Yes | ||
| network | No | ||
| credential_type | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||