I can inject an operation but can't preapply an operation, it returns 400.
I checked the body's format and it's OK. Why does this rpc return 400? I can inject the operation.
Tezos Stack Exchange is a question and answer site for users, experts, and developers of the Tezos blockchain project. It only takes a minute to sign up.
Sign up to join this communityThe preapply/operations endpoint requires an array of operations to be submitted.
Just wrap your call around square brackets and it should work. This is how it's done in eztz.