Skip to content

Commit c9b71df

Browse files
committed
taprpc: extend documentation for AssetTransfer's anchor_tx_hash
1 parent 74f32a4 commit c9b71df

File tree

4 files changed

+12
-6
lines changed

4 files changed

+12
-6
lines changed

taprpc/assetwalletrpc/assetwallet.swagger.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -950,7 +950,7 @@
950950
"anchor_tx_hash": {
951951
"type": "string",
952952
"format": "byte",
953-
"description": "The new transaction that commits to the set of Taproot Assets found\nat the above new anchor point."
953+
"description": "The new transaction that commits to the set of Taproot Assets found at\nthe above new anchor point. Note that this is in raw byte format, not\nthe reversed hex string format that is used for displayed txids. When\nlisting assets on the CLI we purposefully use the display format so it\nis easier to copy and paste into other tools."
954954
},
955955
"anchor_tx_height_hint": {
956956
"type": "integer",

taprpc/taprootassets.pb.go

Lines changed: 5 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

taprpc/taprootassets.proto

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -799,8 +799,11 @@ message AssetTransfer {
799799
// The timestamp of the transfer in UTC Unix time seconds.
800800
int64 transfer_timestamp = 1;
801801

802-
// The new transaction that commits to the set of Taproot Assets found
803-
// at the above new anchor point.
802+
// The new transaction that commits to the set of Taproot Assets found at
803+
// the above new anchor point. Note that this is in raw byte format, not
804+
// the reversed hex string format that is used for displayed txids. When
805+
// listing assets on the CLI we purposefully use the display format so it
806+
// is easier to copy and paste into other tools.
804807
bytes anchor_tx_hash = 2;
805808

806809
// The height hint of the anchor transaction. This is the height at which

taprpc/taprootassets.swagger.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1671,7 +1671,7 @@
16711671
"anchor_tx_hash": {
16721672
"type": "string",
16731673
"format": "byte",
1674-
"description": "The new transaction that commits to the set of Taproot Assets found\nat the above new anchor point."
1674+
"description": "The new transaction that commits to the set of Taproot Assets found at\nthe above new anchor point. Note that this is in raw byte format, not\nthe reversed hex string format that is used for displayed txids. When\nlisting assets on the CLI we purposefully use the display format so it\nis easier to copy and paste into other tools."
16751675
},
16761676
"anchor_tx_height_hint": {
16771677
"type": "integer",

0 commit comments

Comments
 (0)