From 554caffdbba7293f7aec8c4885dadffb88b78874 Mon Sep 17 00:00:00 2001 From: Matt Smith Date: Wed, 10 Jul 2024 05:52:43 -0700 Subject: [PATCH] Improve clarity on how to fetch account number Make it clear (and searchable) that one is fetching the value to be used for the field `account-number` by using the identical field name in the description. This makes one searching for `account-number` able to find this line detailing how to fetch the current values from the DCL. --- docs/transactions.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/transactions.md b/docs/transactions.md index 10467cb30..2254d42c9 100644 --- a/docs/transactions.md +++ b/docs/transactions.md @@ -47,7 +47,7 @@ an Account or sign the request. - CLI 1: Is connected to the network of nodes. Doesn't have access to private keys. - CLI 2: Stores private key. Does not have a connection to the network of nodes. - Build transaction by CLI 1: `dcld tx ... --generate-only` - - Fetch `account number` and `sequence` by CLI 1: `dcld query auth account --address
` + - Fetch `account-number` and `sequence` by CLI 1: `dcld query auth account --address
` - Sign transaction by CLI 2: `dcld tx sign txn.json --from --account-number --sequence --gas "auto" --offline --output-document txn.json` - Broadcast transaction by CLI 1: `dcld tx broadcast txn.json` - To get the actual result of transaction, `dcld query tx=txHash` call must be executed, where `txHash` is the hash of previously executed transaction.