2

I can inject an operation but can't preapply an operation, it returns 400.

enter image description here

I checked the body's format and it's OK. Why does this rpc return 400? I can inject the operation.

2

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.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.