add bindings for early data (#4582)

* add bindings for early data

* remove final var name
2 files changed