Files
xrpl-dev-portal/content/@i18n/ja/references/protocol/transactions/metadata.md
mDuo13 4dfb703df6 Move/rename indexes and some other files
This makes no difference to how the site is built under Dactyl (other
than where the "Edit Page" links go) but changes the URLs that will
be used for the pages after the migration to Redocly.

In addition to renaming index pages to index.md, I updated the style
guide to reflect the updated conventions, and moved a couple files that
were not in the correct folders for their place in the nav hierarchy.
2023-10-31 16:07:43 -07:00

2.8 KiB
Raw Blame History

html, parent, blurb, labels
html parent blurb labels
transaction-metadata.html transaction-formats.html トランザクションのメタデータは、トランザクションの処理後にトランザクションに追加されるひとまとまりのデータです。
ブロックチェーン

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

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

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

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

{% 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' %}