You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/concepts/decentralized-storage/credentials.md
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
# Credentials
2
2
3
-
The Credentials feature is a set of tools for managing authorization and compliance requirements using the XRP Ledger blockchain, while respecting privacy and decentralization. This feature extends and interconnects with other features of the XRP Ledger including [Deposit Authorization](https://xrpl.org/docs/concepts/accounts/depositauth). The goal of this feature is to streamline the process of compliance checks such as [KYC (Know Your Customer)](https://en.wikipedia.org/wiki/Know_your_customer) and to enable further trust-based applications within the XRP Ledger ecosystem.
3
+
The Credentials feature is a set of tools for managing authorization and compliance requirements using the XRP Ledger blockchain, while respecting privacy and decentralization. This feature extends and interconnects with other features of the XRP Ledger including [Deposit Authorization](../../concepts/accounts/depositauth.md)). The goal of this feature is to streamline the process of compliance checks such as [KYC (Know Your Customer)](https://en.wikipedia.org/wiki/Know_your_customer) and to enable further trust-based applications within the XRP Ledger ecosystem.
4
4
5
5
The design of the Credentials standard draws from the [W3C Verifiable Credentials standard](https://www.w3.org/TR/vc-data-model-2.0/). It is intended to be compatible to an extent that makes sense in the context of the XRP Ledger. There are some differences in data structures and formatting: for example, the subject of a credential is identified by an XRP Ledger address rather than a URL.
Copy file name to clipboardExpand all lines: docs/references/http-websocket-apis/public-api-methods/ledger-methods/ledger_entry.md
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -112,7 +112,7 @@ You can use this type of request to get any singleton ledger entry, if it exists
112
112
113
113
114
114
### Get AccountRoot Entry
115
-
<aid="get-accountroot-entry"></a><!-- legacy ID -->
115
+
<aid="get-accountroot-object"></a><!-- legacy ID -->
116
116
117
117
Retrieve an [AccountRoot entry](../../../protocol/ledger-data/ledger-entry-types/accountroot.md) by its address. This is roughly equivalent to the [account_info method][].
The `deposit_authorized` command indicates whether one account is authorized to send payments directly to another. See [Deposit Authorization](https://xrpl.org/docs/concepts/accounts/depositauth/) for information on how to require authorization to deliver money to your account.
11
+
The `deposit_authorized` command indicates whether one account is authorized to send payments directly to another. See [Deposit Authorization](../../../../concepts/accounts/depositauth.md) for information on how to require authorization to deliver money to your account.
12
12
13
13
## Request Format
14
14
An example of the request format:
@@ -65,7 +65,7 @@ The request includes the following parameters:
|`source_account`| String - [Address][]| Yes | The sender of a possible payment. |
67
67
|`destination_account`| String - [Address][]| Yes | The recipient of a possible payment. |
68
-
|`ledger_hash`|[Hash][]| No | A 20-byte hex string for the ledger version to use. (See [Specifying Ledgers][]) |
68
+
|`ledger_hash`|[Hash][]| No | A 32-byte hex string for the ledger version to use. (See [Specifying Ledgers][]) |
69
69
|`ledger_index`|[Ledger Index][]| No | The [ledger index][] of the ledger to use, or a shortcut string to choose a ledger automatically. (See [Specifying Ledgers][]) |
70
70
|`credentials`| Array | No | A set of credentials to take into account when checking if the sender can send funds to the destination. Each member of the array must be the unique ID of a [Credential entry][] in the ledger. Cannot be an empty array. |
71
71
@@ -150,7 +150,7 @@ The response follows the [standard format][], with a successful result containin
|`credentials`| Array of [Hash][]| No | The credentials specified in the request, if any. |
153
-
|`deposit_authorized`| Boolean | Yes | Whether the specified source account is authorized to send payments directly to the destination account. If `true`, either the destination account does not require [deposit authorization](https://xrpl.org/docs/concepts/accounts/depositauth) or the source account is preauthorized. |
153
+
|`deposit_authorized`| Boolean | Yes | Whether the specified source account is authorized to send payments directly to the destination account. If `true`, either the destination account does not require [deposit authorization](../../../../concepts/accounts/depositauth.md) or the source account is preauthorized. |
154
154
|`destination_account`| String - [Address][]| Yes | The destination account specified in the request. |
155
155
|`ledger_hash`| String | No | The identifying hash of the ledger that was used to generate this response. |
156
156
|`ledger_index`| Number - [Ledger Index][]| No | The ledger index of the ledger version that was used to generate this response. |
@@ -159,7 +159,7 @@ The response follows the [standard format][], with a successful result containin
159
159
|`validated`| Boolean | No | If `true`, the information comes from a validated ledger version. |
160
160
161
161
{% admonition type="info" name="Note" %}
162
-
A `deposit_authorized` status of `true` does not guarantee that a payment can be sent from the specified source to the specified destination. For example, the destination account may not have a [trust line](https://xrpl.org/docs/concepts/tokens/fungible-tokens) for the specified currency, or there may not be enough liquidity to deliver a payment.
162
+
A `deposit_authorized` status of `true` does not guarantee that a payment can be sent from the specified source to the specified destination. For example, the destination account may not have a [trust line](../../../../concepts/tokens/fungible-tokens/index.md) for the specified currency, or there may not be enough liquidity to deliver a payment.
Copy file name to clipboardExpand all lines: docs/references/protocol/ledger-data/ledger-entry-types/credential.md
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -4,7 +4,7 @@ seo:
4
4
---
5
5
# Credential
6
6
7
-
A `Credential` entry represents a [credential](../index.md), which contains an attestation about a _subject_ account from a _credential issuer_ account. The meaning of the attestation is defined by the issuer.
7
+
A `Credential` entry represents a [credential](../../../../concepts/decentralized-storage/credentials.md), which contains an attestation about a _subject_ account from a _credential issuer_ account. The meaning of the attestation is defined by the issuer.
A `DepositPreauth` entry tracks a preauthorization from one account. You can always create a preauthorization by sending a [DepositPreauth transaction][], but it has no effect unless you are using [Deposit Authorization](https://xrpl.org/docs/concepts/accounts/depositauth).
12
+
A `DepositPreauth` entry tracks a preauthorization from one account. You can always create a preauthorization by sending a [DepositPreauth transaction][], but it has no effect unless you are using [Deposit Authorization](../../../../concepts/accounts/depositauth.md).
13
13
14
14
A preauthorization allows specific others to send money directly to you even if you have Deposit Authorization enabled. Preauthorizations are one-directional, and have no effect on payments going the opposite direction.
Copy file name to clipboardExpand all lines: docs/references/protocol/transactions/types/credentialaccept.md
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -2,7 +2,7 @@
2
2
seo:
3
3
description: Accept a credential provisionally issued to your account.
4
4
---
5
-
# CredentialAccept Transaction
5
+
# CredentialAccept
6
6
7
7
A CredentialAccept transaction accepts a credential, which makes the credential valid. Only the subject of the credential can do this.
8
8
@@ -42,7 +42,7 @@ The combination of `Account`, `Issuer`, and `CredentialType` must match a `Crede
42
42
|`tecEXPIRED`| The specified credential has an expiration time in the past. (In this case, the transaction also deletes the expired credentials from the ledger.) |
43
43
|`tecNO_ENTRY`| The credential uniquely identified by the `Account`, `Issuer`, and `CredentialType` fields of the transaction does not exist in the ledger. |
44
44
|`temDISABLED`| The related amendment is not enabled. |
45
-
|`temINVALID_ACCOUNT_ID`| The provided `Issuer` field is invalid. For example, it contains [ACCOUNT_ZERO][]. |
45
+
|`temINVALID_ACCOUNT_ID`| The provided `Issuer` field is invalid. For example, it contains [ACCOUNT_ZERO](../../../../concepts/accounts/addresses.md#special-addresses). |
Copy file name to clipboardExpand all lines: docs/references/protocol/transactions/types/credentialcreate.md
+3-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -3,7 +3,7 @@ seo:
3
3
description: Provisionally issue a credential to a subject account.
4
4
---
5
5
6
-
# CredentialCreate Transaction
6
+
# CredentialCreate
7
7
8
8
A CredentialCreate transaction creates a credential in the ledger. The issuer of the credential uses this transaction to provisionally issue a credential. The credential is not valid until the subject of the credential accepts it with a [CredentialAccept transaction][].
9
9
@@ -37,15 +37,15 @@ The `Account` field (the sender) of the transaction is the issuer of the credent
37
37
38
38
## Error Cases
39
39
40
-
Besides errors that can occur for all transactions, CredentialCreate transactions can result in the following [transaction result codes][]:
40
+
Besides errors that can occur for all transactions, CredentialCreate transactions can result in the following [transaction result codes](../transaction-results/index.md):
41
41
42
42
| Error Code | Description |
43
43
|:-----------|:------------|
44
44
|`tecDUPLICATE`| A credential with the same subject, issuer, and credential type already exists in the ledger. |
45
45
|`tecEXPIRED`| The credential's expiration time is in the past. |
46
46
|`tecNO_TARGET`| The account specified in the `Subject` field is not a funded account in the ledger. |
47
47
|`temDISABLED`| The related amendment is not enabled. |
48
-
|`temINVALID_ACCOUNT_ID`| The provided `Subject` field is invalid. For example, it contains [ACCOUNT_ZERO][]. |
48
+
|`temINVALID_ACCOUNT_ID`| The provided `Subject` field is invalid. For example, it contains [ACCOUNT_ZERO](../../../../concepts/accounts/addresses.md#special-addresses). |
Copy file name to clipboardExpand all lines: docs/references/protocol/transactions/types/credentialdelete.md
+3-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -2,9 +2,9 @@
2
2
seo:
3
3
description: Remove a credential from the ledger, effectively revoking it.
4
4
---
5
-
# CredentialDelete Transaction
5
+
# CredentialDelete
6
6
7
-
A CredentialDelete transaction removes a credential from the ledger, effectively revoking it. Users may also want to delete an unwanted credential to reduce their [reserve requirement][].
7
+
A CredentialDelete transaction removes a credential from the ledger, effectively revoking it. Users may also want to delete an unwanted credential to reduce their [reserve requirement](../../../../concepts/accounts/reserves.md).
8
8
9
9
## Example CredentialDelete JSON
10
10
@@ -41,7 +41,7 @@ This transaction looks for a [Credential ledger entry](../../ledger-data/ledger-
41
41
| Error Code | Description |
42
42
|:-----------|:------------|
43
43
|`temDISABLED`| The related amendment is not enabled. |
44
-
|`temINVALID_ACCOUNT_ID`| A provided `Subject` or `Issuer` field is invalid. For example, it contains [ACCOUNT_ZERO][]. |
44
+
|`temINVALID_ACCOUNT_ID`| A provided `Subject` or `Issuer` field is invalid. For example, it contains [ACCOUNT_ZERO](../../../../concepts/accounts/addresses.md#special-addresses). |
45
45
|`tecNO_PERMISSION`| The sender is neither the issuer nor subject of the credential, and the credential is not expired. |
46
46
|`tecNO_ENTRY`| The specified credential does not exist in the ledger. |
Copy file name to clipboardExpand all lines: docs/references/protocol/transactions/types/depositpreauth.md
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -83,7 +83,7 @@ In addition to error types that can occur for all transactions, DepositPreauth t
83
83
| Error Code | Description |
84
84
|:--------------------------|:------------|
85
85
|`tecDUPLICATE`| The transaction would create a preauthorization that already exists. |
86
-
|`tecINSUFFICIENT_RESERVE`| The sender would not meet the [reserve requirement][] after adding another entry to the ledger. (A DepositPreauth entry counts as one item towards the authorizer's owner reserve.) |
86
+
|`tecINSUFFICIENT_RESERVE`| The sender would not meet the [reserve requirement](../../../../concepts/accounts/reserves.md) after adding another entry to the ledger. (A DepositPreauth entry counts as one item towards the authorizer's owner reserve.) |
87
87
|`tecNO_ENTRY`| The transaction tried to revoke a preauthorization that does not exist in the ledger. |
88
88
|`tecNO_ISSUER`| One or more specified credential issuers does not exist in the ledger. |
89
89
|`tecNO_TARGET`| The transaction tried to authorize an account that is not a funded account in the ledger. |
0 commit comments