Skip to content

Unable to PublishTransaction #8

Open
@losh11

Description

Trying to use LND to broadcast a raw transaction, using the walletkit rpc PublishTransaction.
No matter what I do, LND doesn't seem to be able to see the transaction, looking at the logs I see this:

2025-01-14 09:53:16.932 [ERR] RPCS: [/walletrpc.WalletKit/PublishTransaction]: must provide a transaction to publish
2025-01-14 09:53:16.932 [ERR] RPCS: [/walletrpc.WalletKit/PublishTransaction]: unexpected EOF

Here's how I tried to publish a transaction:

const rpc = await publishLndTransaction(
  create(TransactionSchema, {
    txHex: Buffer.from(rawTx),
    label,
  }),
);

and also like this:

const rpc = await publishLndTransaction({
  txHex: Buffer.from(rawTx),
  label,
});

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions