diff --git a/.changeset/warm-clouds-decide.md b/.changeset/warm-clouds-decide.md new file mode 100644 index 00000000..028aaef4 --- /dev/null +++ b/.changeset/warm-clouds-decide.md @@ -0,0 +1,5 @@ +--- +'@bnb-chain/greenfield-js-sdk': patch +--- + +feat: Custom any tx by raw info diff --git a/examples/nextjs/src/components/customtx/index.tsx b/examples/nextjs/src/components/customtx/index.tsx index 6417a914..f6b0ee0f 100644 --- a/examples/nextjs/src/components/customtx/index.tsx +++ b/examples/nextjs/src/components/customtx/index.tsx @@ -1,7 +1,6 @@ import { client } from '@/client'; -import { useAccount } from 'wagmi'; import { MsgSend } from '@bnb-chain/greenfield-cosmos-types/cosmos/bank/v1beta1/tx'; -import { parseEther } from 'viem'; +import { useAccount } from 'wagmi'; export const CustomTx = () => { const { address } = useAccount(); @@ -14,61 +13,63 @@ export const CustomTx = () => {