From 73273f1389d62a80cc28f8407e1ef39ad8c6024d Mon Sep 17 00:00:00 2001 From: Jason Spafford Date: Wed, 6 Mar 2024 15:37:52 -0800 Subject: [PATCH] Add documentation for memoHex in RPCS --- content/documentation/rpc/wallet/create_transaction.mdx | 5 ++++- content/documentation/rpc/wallet/send_transaction.mdx | 5 ++++- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/content/documentation/rpc/wallet/create_transaction.mdx b/content/documentation/rpc/wallet/create_transaction.mdx index 957257df..cfd16042 100644 --- a/content/documentation/rpc/wallet/create_transaction.mdx +++ b/content/documentation/rpc/wallet/create_transaction.mdx @@ -17,7 +17,8 @@ Creating a raw transaction does not require a spend key. They are not added to t outputs: { publicAddress: string amount: string - memo: string + memo?: string + memoHex?: string assetId?: string }[] mints?: { @@ -40,6 +41,8 @@ Creating a raw transaction does not require a spend key. They are not added to t } ``` +> **Note:** outputs.memoHex is a hex-encoded string with a max length of 32 bytes (64 characters) + #### Response ```ts diff --git a/content/documentation/rpc/wallet/send_transaction.mdx b/content/documentation/rpc/wallet/send_transaction.mdx index d3e6a5d8..7de2bf5a 100644 --- a/content/documentation/rpc/wallet/send_transaction.mdx +++ b/content/documentation/rpc/wallet/send_transaction.mdx @@ -13,7 +13,8 @@ Creates a transaction, posts the transaction, and submits it to the wallet, memp outputs: { publicAddress: string amount: string - memo: string + memo?: string + memoHex?: string assetId?: string }[] fee?: string @@ -24,6 +25,8 @@ Creates a transaction, posts the transaction, and submits it to the wallet, memp } ``` +> **Note:** outputs.memoHex is a hex-encoded string with a max length of 32 bytes (64 characters) + #### Response ```ts