How To Get End Gateway Block