mirror of
https://github.com/XRPLF/xrpl-dev-portal.git
synced 2025-11-15 17:25:49 +00:00
Merge branch 'master' into ja-pdomains
This commit is contained in:
22
docs/_snippets/accepted-credentials-objects.md
Normal file
22
docs/_snippets/accepted-credentials-objects.md
Normal file
@@ -0,0 +1,22 @@
|
||||
Each member of the `AcceptedCredentials` array is an inner object named `Credential` with the following nested fields:
|
||||
|
||||
| Field | JSON Type | [Internal Type][] | Required? | Description |
|
||||
|:-----------------|:---------------------|:------------------|:----------|--------------|
|
||||
| `Issuer` | String - [Address][] | AccountID | Yes | The issuer of the credential. |
|
||||
| `CredentialType` | String | Blob | Yes | The type of credential, as hexadecimal. This is an arbitrary value from 1 to 64 bytes that the issuer sets when they issue a credential. |
|
||||
|
||||
{% admonition type="info" name="Note" %}
|
||||
In the usual JSON format, inner objects are wrapped in an object with one field, whose name defines the inner object type. In this case, the wrapping field is named `Credential`. For example:
|
||||
|
||||
```json
|
||||
"AcceptedCredentials": [
|
||||
{
|
||||
"Credential": {
|
||||
"Issuer": "ra5nK24KXen9AHvsdFTKHSANinZseWnPcX",
|
||||
"CredentialType": "6D795F63726564656E7469616C"
|
||||
}
|
||||
},
|
||||
// ... additional Credential inner objects ...
|
||||
]
|
||||
```
|
||||
{% /admonition %}
|
||||
@@ -260,6 +260,10 @@
|
||||
[許可型ドメイン]: /@l10n/ja/docs/concepts/tokens/decentralized-exchange/permissioned-domains.md
|
||||
[PriceOracle amendment]: /resources/known-amendments.md#priceoracle
|
||||
[MPToken entry]: /docs/references/protocol/ledger-data/ledger-entry-types/mptoken.md
|
||||
[MPTokenAuthorize transaction]: /docs/references/protocol/transactions/types/mptokenauthorize.md
|
||||
[MPTokenIssuanceCreate transaction]: /docs/references/protocol/transactions/types/mptokenissuancecreate.md
|
||||
[MPTokenIssuanceDestroy transaction]: /docs/references/protocol/transactions/types/mptokenissuancedestroy.md
|
||||
[MPTokenIssuanceSet transaction]: /docs/references/protocol/transactions/types/mptokenissuanceset.md
|
||||
[MPTokensV1_1 amendment]: /resources/known-amendments.md#priceoracle
|
||||
[RFC-1751]: https://tools.ietf.org/html/rfc1751
|
||||
[Reporting Mode]: /docs/concepts/networks-and-servers/rippled-server-modes.md#reporting-mode
|
||||
|
||||
Reference in New Issue
Block a user