diff --git a/.changeset/spotty-toes-obey.md b/.changeset/spotty-toes-obey.md new file mode 100644 index 0000000000..d13c2f88fc --- /dev/null +++ b/.changeset/spotty-toes-obey.md @@ -0,0 +1,5 @@ +--- +"near-api-js": patch +--- + +Export encodeTransaction method in near-api-js package diff --git a/packages/near-api-js/src/transaction.ts b/packages/near-api-js/src/transaction.ts index 6e0065b598..e8fc48f07b 100644 --- a/packages/near-api-js/src/transaction.ts +++ b/packages/near-api-js/src/transaction.ts @@ -21,6 +21,7 @@ export { Transaction, encodeSignedDelegate, encodeDelegateAction, + encodeTransaction } from '@near-js/transactions'; import { PublicKey } from '@near-js/crypto';