Files
xrpl-dev-portal/content/references/rippled-api/transaction-formats/transaction-metadata.ja.md
mDuo13 389e563b27 [JA] Finish link fixing
- Removes the redundant "English" locale since English is the default
  language when no locale is specified
- Adds translation tags to domain verification checker tool (so that one
  broken link from there can be fixed)
- Fixes several typos in Japanese docs
- Adds redirects & other config changes to make links work
2020-06-22 16:44:46 -07:00

2.5 KiB
Raw Blame History

トランザクションのメタデータ

トランザクションのメタデータは、トランザクションの処理後にトランザクションに追加されるひとまとまりのデータです。レジャーに記録されるトランザクションは、トランザクションが成功するかどうかにかかわらず、メタデータを保持しています。トランザクションのメタデータには、トランザクションの結果の詳細が含まれます。

警告: トランザクションのメタデータに示された変更が最終的なものになるのは、トランザクションが検証済みバージョンのレジャーに記録された場合のみです。

以下に、トランザクションのメタデータに含まれる可能性があるフィールドをいくつか示します。

{% include '_snippets/tx-metadata-field-table.ja.md' %}

delivered_amount

[Paymentトランザクション][]のAmountDestinationに送金された金額を示し、トランザクションが成功すると、Partial Paymentsであった場合を除いて、 宛先は当該の金額を受取りますPartial Paymentsの場合、Amountを上限とする正の金額が受取られます)。Amountフィールドを信頼するかどうかを選択するのではなく、メタデータのdelivered_amountフィールドを使用して、宛先に実際に到達する金額を確認してください。

トランザクションのメタデータのdelivered_amountフィールドは、成功したすべてのPaymentトランザクションが保持しており、フォーマットは通常の通貨額と同様です。ただし、送金額は、以下の両方の条件に該当するトランザクションについては使用できません。

  • Partial Paymentsである
  • 2014-01-20よりも前の検証済みレジャーに含まれている

両方の条件に該当する場合、delivered_amountには、実際の金額ではなく文字列値unavailableが記述されます。この場合、トランザクションのメタデータにあるAffectedNodesを読み取ることが、実際に送金された金額を割り出せる唯一の手段になります。

関連項目: Partial Payments

{% include '_snippets/rippled-api-links.md' %} {% include '_snippets/tx-type-links.md' %} {% include '_snippets/rippled_versions.md' %}