feat(main) use transferin endpoint, simplify