diff --git a/.changeset/hungry-ghosts-smash.md b/.changeset/hungry-ghosts-smash.md new file mode 100644 index 0000000..c7d8a47 --- /dev/null +++ b/.changeset/hungry-ghosts-smash.md @@ -0,0 +1,5 @@ +--- +"gill": patch +--- + +remove duplicate entry from changelog diff --git a/README.md b/README.md index a176cec..900e9d2 100644 --- a/README.md +++ b/README.md @@ -227,24 +227,6 @@ const transaction = createTransaction({ }); ``` -To create a transaction while setting the latest blockhash: - -```typescript -import { createTransaction } from "gill"; - -const { value: latestBlockhash } = await rpc.getLatestBlockhash().send(); - -const transaction = createTransaction({ - version, - feePayer, - instructions, - latestBlockhash, - // the compute budget values are HIGHLY recommend to be set in order to maximize your transaction landing rate - // computeUnitLimit: number, - // computeUnitPrice: number, -}); -``` - ### Signing transactions If your transaction already has the latest blockhash lifetime set via `createTransaction`: diff --git a/packages/gill/README.md b/packages/gill/README.md index 9cb126c..53dcd3c 100644 --- a/packages/gill/README.md +++ b/packages/gill/README.md @@ -227,24 +227,6 @@ const transaction = createTransaction({ }); ``` -To create a transaction while setting the latest blockhash: - -```typescript -import { createTransaction } from "gill"; - -const { value: latestBlockhash } = await rpc.getLatestBlockhash().send(); - -const transaction = createTransaction({ - version, - feePayer, - instructions, - latestBlockhash, - // the compute budget values are HIGHLY recommend to be set in order to maximize your transaction landing rate - // computeUnitLimit: number, - // computeUnitPrice: number, -}); -``` - ### Signing transactions If your transaction already has the latest blockhash lifetime set via `createTransaction`: