Mayukha Vadari
Mayukha Vadari
`LastLedgerSequence` is not autofill-able by the server, because its use is user-dependent. Its purpose is essentially that unless there's something malformed about the tx, the server will keep trying to...
> what i wanted is not error faster, but the tx broadcast on chain successfully faster The tx gets broadcast very quickly - within a few seconds. It's not actually...
What version of the library are you using? I recommend upgrading to at least v2.1.1, which will provide a more detailed error
What response do you get when you use `client.submit` instead of `client.submitAndWait`?
`client.submitAndWait` is really just calling `client.submit` and waiting for the transaction to be finalized. What response do you get from the server when you use `client.submit` instead? That will give...
https://xrpl.org/tec-codes.html `tecUNFUNDED_PAYMENT` means that the amount you're trying to send is more than the account holds. You can check how much XRP you have via the `account_info` RPC. `tecNO_DST_INSUF_XRP` means...
> but for the `LastLedgerSequence `, return nothing; => `i dont think this is a data error` I don't understand what you mean by this.
What the `submitAndWait` function does is submit the transaction (essentially with `client.submit`), then wait for it to be validated (confirmed) on the ledger. If that doesn't happen, usually there's something...
What is the output?
Are you sure you're building properly after changing the code? That error message is literally not possible with `client.submit`.