Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
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.
The 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.
Required, but never shown